setupapi: Fix a typo.

This commit is contained in:
Dmitry Timoshkov 2006-10-16 20:21:28 +09:00 committed by Alexandre Julliard
parent 41f514570b
commit ab83183c03

View File

@ -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 ); BOOL exists = !RegQueryValueExW( hkey, value, NULL, NULL, NULL, NULL );
if (exists && (flags & FLG_ADDREG_NOCLOBBER)) return TRUE; 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) switch(flags & FLG_ADDREG_TYPE_MASK)