ole32: Do a case-insensitive comparison in the count_moniker_matches in the moniker tests as Win9x marshals an all upper-case file name for file monikers.
This commit is contained in:
parent
1f70fc50c6
commit
4ce58cb531
|
@ -679,7 +679,7 @@ static int count_moniker_matches(IBindCtx * pbc, IEnumMoniker * spEM)
|
|||
hr=IMoniker_GetDisplayName(spMoniker, pbc, NULL, &szDisplayn);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
if (!lstrcmpW(szDisplayn, wszFileName1) || !lstrcmpW(szDisplayn, wszFileName2))
|
||||
if (!lstrcmpiW(szDisplayn, wszFileName1) || !lstrcmpiW(szDisplayn, wszFileName2))
|
||||
matchCnt++;
|
||||
CoTaskMemFree(szDisplayn);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue