[ros-diffs] [weiden] 24547: Fix a typo. Thanks to Dmitry Timoshkov

weiden at svn.reactos.org weiden at svn.reactos.org
Mon Oct 16 13:26:25 CEST 2006


Author: weiden
Date: Mon Oct 16 15:26:24 2006
New Revision: 24547

URL: http://svn.reactos.org/svn/reactos?rev=24547&view=rev
Log:
Fix a typo. Thanks to Dmitry Timoshkov

Modified:
    trunk/reactos/dll/win32/setupapi/install.c

Modified: trunk/reactos/dll/win32/setupapi/install.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/install.c?rev=24547&r1=24546&r2=24547&view=diff
==============================================================================
--- trunk/reactos/dll/win32/setupapi/install.c (original)
+++ trunk/reactos/dll/win32/setupapi/install.c Mon Oct 16 15:26:24 2006
@@ -299,7 +299,7 @@
     {
         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 Ros-diffs mailing list