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:
Rob Shearman 2007-03-27 18:18:38 +01:00 committed by Alexandre Julliard
parent 1f70fc50c6
commit 4ce58cb531
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}