[msi] Fix typo's (Coverity)

Paul Vriens paul.vriens.wine at gmail.com
Sun Nov 12 05:01:26 CST 2006


Hi,

'&&' makes more sense then '||'.

Should fix Coverity-416.

Changelog
  Fix typo's

Cheers,

Paul.
---
 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;
-- 
1.4.3.4




More information about the wine-patches mailing list