MSI: fix incorrect return code check

Mike McCormack mike at codeweavers.com
Wed Dec 22 03:45:28 CST 2004


ChangeLog:
<aric at codeweavers.com>
* fix incorrect return code check
-------------- next part --------------
diff -ur dlls/msi.old/action.c dlls/msi/action.c
--- dlls/msi.old/action.c	2004-12-22 18:43:14.000000000 +0900
+++ dlls/msi/action.c	2004-12-22 18:43:30.000000000 +0900
@@ -658,7 +658,7 @@
         }
 
         check = PACKAGE_GetProperty(package, cszSourceDir);
-        if (check)
+        if (!check)
         {
             MSI_SetPropertyW(package, cszSourceDir, path);
             HeapFree(GetProcessHeap(), 0, check);


More information about the wine-patches mailing list