[PATCH 3/6] 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.
Robert Shearman
rob at codeweavers.com
Tue Mar 27 12:18:38 CDT 2007
---
dlls/ole32/tests/moniker.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
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(IBindCt
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);
}
More information about the wine-patches
mailing list