Commit 4ce58cb5 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

ole32: Do a case-insensitive comparison in the count_moniker_matches in the…

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.
parent 1f70fc50
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment