Mike McCormack : msi: Fix a logic error.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Apr 7 05:04:37 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: ccdd0869a1afc9b951eed6da4ead9af6a739896b
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ccdd0869a1afc9b951eed6da4ead9af6a739896b
Author: Mike McCormack <mike at codeweavers.com>
Date: Fri Apr 7 13:33:43 2006 +0900
msi: Fix a logic error.
---
dlls/msi/classes.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/classes.c b/dlls/msi/classes.c
index b7799f3..75a0ffa 100644
--- a/dlls/msi/classes.c
+++ b/dlls/msi/classes.c
@@ -863,8 +863,8 @@ UINT ACTION_RegisterClassInfo(MSIPACKAGE
* yes. MSDN says that these are based on _Feature_ not on
* Component. So verify the feature is to be installed
*/
- if ((!ACTION_VerifyFeatureForAction( feature, INSTALLSTATE_LOCAL )) &&
- !(install_on_demand &&
+ if (!ACTION_VerifyFeatureForAction( feature, INSTALLSTATE_LOCAL ) ||
+ !(install_on_demand &&
ACTION_VerifyFeatureForAction( feature, INSTALLSTATE_ADVERTISED )))
{
TRACE("Skipping class %s reg due to disabled feature %s\n",
More information about the wine-cvs
mailing list