Commit ab83183c authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

setupapi: Fix a typo.

parent 41f51457
......@@ -286,7 +286,7 @@ static BOOL do_reg_operation( HKEY hkey, const WCHAR *value, INFCONTEXT *context
{
BOOL exists = !RegQueryValueExW( hkey, value, NULL, NULL, NULL, NULL );
if (exists && (flags & FLG_ADDREG_NOCLOBBER)) return TRUE;
if (!exists & (flags & FLG_ADDREG_OVERWRITEONLY)) return TRUE;
if (!exists && (flags & FLG_ADDREG_OVERWRITEONLY)) return TRUE;
}
switch(flags & FLG_ADDREG_TYPE_MASK)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment