Paul Vriens : msi: Fix typo's (Coverity).

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 13 06:32:03 CST 2006


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

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Sun Nov 12 12:01:26 2006 +0100

msi: Fix typo's (Coverity).

---

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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 47acd58..456d4e0 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -1643,7 +1643,7 @@ static void ACTION_UpdateFeatureInstallS
                 if (res == comp->Installed)
                     continue;
 
-                if (res != INSTALLSTATE_DEFAULT || res != INSTALLSTATE_LOCAL ||
+                if (res != INSTALLSTATE_DEFAULT && res != INSTALLSTATE_LOCAL &&
                     res != INSTALLSTATE_SOURCE)
                 {
                     res = INSTALLSTATE_INCOMPLETE;




More information about the wine-cvs mailing list