Rob Shearman : 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 .
Module: wine Branch: master Commit: 4ce58cb531776233115d4788c7936834b7b32520 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4ce58cb531776233115d4788c7... Author: Rob Shearman <rob(a)codeweavers.com> Date: Tue Mar 27 18:18:38 2007 +0100 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. --- dlls/ole32/tests/moniker.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ole32/tests/moniker.c b/dlls/ole32/tests/moniker.c index aa7c30f..513bb94 100644 --- a/dlls/ole32/tests/moniker.c +++ b/dlls/ole32/tests/moniker.c @@ -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); }
participants (1)
-
Alexandre Julliard