Fix problem comparing pidls and return correct code.
This commit is contained in:
parent
2bdbf30bb9
commit
607c810ac2
|
@ -896,8 +896,12 @@ static HRESULT WINAPI IShellFolder_fnCompareIDs(
|
|||
}
|
||||
ILFree(pidlTemp);
|
||||
}
|
||||
else
|
||||
else /* no deeper on #1 */
|
||||
{
|
||||
pidl2 = ILGetNext(pidl2);
|
||||
if (pidl2 && pidl2->mkid.cb) /* go deeper on #2 ? */
|
||||
hr = ResultFromShort(-1); /* two different */
|
||||
else
|
||||
hr = ResultFromShort(nReturn); /* two equal simple pidls */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue