setupapi: Fix a typo

Dmitry Timoshkov dmitry at codeweavers.com
Mon Oct 16 06:21:28 CDT 2006


Hello,

Changelog:
    setupapi: Fix a typo.

--- cvs/hq/wine/dlls/setupapi/install.c	2006-10-16 12:27:16.000000000 +0900
+++ wine/dlls/setupapi/install.c	2006-10-16 15:48:54.000000000 +0900
@@ -286,7 +286,7 @@ static BOOL do_reg_operation( HKEY hkey,
     {
         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)





More information about the wine-patches mailing list