[W->A] Cleanup string.c
Dimitrie O. Paun
dpaun at rogers.com
Tue Sep 21 23:45:15 CDT 2004
ChangeLog
Cleanup W->A transition.
Index: dlls/comctl32/string.c
===================================================================
RCS file: /var/cvs/wine/dlls/comctl32/string.c,v
retrieving revision 1.4
diff -u -r1.4 string.c
--- dlls/comctl32/string.c 17 May 2004 20:51:27 -0000 1.4
+++ dlls/comctl32/string.c 19 Sep 2004 23:54:34 -0000
@@ -131,6 +131,16 @@
return COMCTL32_ChrCmpHelperW(ch1, ch2, 0);
}
+/*************************************************************************
+ * COMCTL32_ChrCmpIW
+ *
+ * Internal helper function.
+ */
+static BOOL COMCTL32_ChrCmpIW(WCHAR ch1, WCHAR ch2)
+{
+ return COMCTL32_ChrCmpHelperW(ch1, ch2, NORM_IGNORECASE);
+}
+
/**************************************************************************
* StrChrA [COMCTL32.350]
*
@@ -627,7 +637,7 @@
while (lpszStr <= lpszEnd && *lpszStr)
{
- if (!COMCTL32_ChrCmpIA(*lpszSearch, *lpszStr))
+ if (!COMCTL32_ChrCmpIW(*lpszSearch, *lpszStr))
{
if (!StrCmpNIW(lpszStr, lpszSearch, iLen))
lpszRet = (LPWSTR)lpszStr;
More information about the wine-patches
mailing list