Robert Shearman : ole32: The type check in AntiMonikerImpl_CommonPrefixWith should be for anti-monikers , not item-monikers.

Alexandre Julliard julliard at wine.codeweavers.com
Mon May 8 15:38:22 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 1c6f16a384d356e3c3fb0e03bd17b38e4b6e3b62
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=1c6f16a384d356e3c3fb0e03bd17b38e4b6e3b62

Author: Robert Shearman <rob at codeweavers.com>
Date:   Mon May  8 15:55:52 2006 +0100

ole32: The type check in AntiMonikerImpl_CommonPrefixWith should be for anti-monikers, not item-monikers.

---

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

diff --git a/dlls/ole32/antimoniker.c b/dlls/ole32/antimoniker.c
index 77d883a..472683f 100644
--- a/dlls/ole32/antimoniker.c
+++ b/dlls/ole32/antimoniker.c
@@ -409,7 +409,7 @@ AntiMonikerImpl_CommonPrefixWith(IMonike
 
     IMoniker_IsSystemMoniker(pmkOther,&mkSys);
 
-    if(mkSys==MKSYS_ITEMMONIKER){
+    if(mkSys==MKSYS_ANTIMONIKER){
 
         IMoniker_AddRef(iface);
 




More information about the wine-cvs mailing list