ole32: The type check in AntiMonikerImpl_CommonPrefixWith should be for anti-monikers, not item-monikers.
This commit is contained in:
parent
ae62ab039f
commit
1c6f16a384
|
@ -409,7 +409,7 @@ AntiMonikerImpl_CommonPrefixWith(IMoniker* iface,IMoniker* pmkOther,IMoniker** p
|
||||||
|
|
||||||
IMoniker_IsSystemMoniker(pmkOther,&mkSys);
|
IMoniker_IsSystemMoniker(pmkOther,&mkSys);
|
||||||
|
|
||||||
if(mkSys==MKSYS_ITEMMONIKER){
|
if(mkSys==MKSYS_ANTIMONIKER){
|
||||||
|
|
||||||
IMoniker_AddRef(iface);
|
IMoniker_AddRef(iface);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue