Dmitry Timoshkov : setupapi: Fix a typo.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 16 13:54:08 CDT 2006


Module: wine
Branch: master
Commit: ab83183c03e0eccda67176f393ea0525b4d1ecf9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ab83183c03e0eccda67176f393ea0525b4d1ecf9

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Mon Oct 16 20:21:28 2006 +0900

setupapi: Fix a typo.

---

 dlls/setupapi/install.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c
index 846f86c..f6a541b 100644
--- a/dlls/setupapi/install.c
+++ b/dlls/setupapi/install.c
@@ -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-cvs mailing list