msi: Fix logical expressions that always evaluate to FALSE
Andrew Talbot
andrew.talbot at talbotville.com
Sat Dec 8 15:59:43 CST 2012
Changelog:
msi: Fix logical expressions that always evaluate to FALSE.
diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 076d1b3..677a43f 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -6763,7 +6763,7 @@ static UINT ACTION_RemoveODBC( MSIPACKAGE *package )
#define ENV_MOD_PREFIX 0x80000000
#define ENV_MOD_MASK 0xC0000000
-#define check_flag_combo(x, y) ((x) & ~(y)) == (y)
+#define check_flag_combo(x, y) ((x) & (y)) == (y)
static UINT env_parse_flags( LPCWSTR *name, LPCWSTR *value, DWORD *flags )
{
More information about the wine-patches
mailing list