From 11a5e849b42c0ba566f4cce8a4cbc7605c26ab6b Mon Sep 17 00:00:00 2001 From: "Guy L. Albertelli" Date: Fri, 9 Nov 2001 19:16:36 +0000 Subject: [PATCH] Use proper unicode routine. --- dlls/shlwapi/string.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/shlwapi/string.c b/dlls/shlwapi/string.c index 429acb01b9f..c7f57c41bce 100644 --- a/dlls/shlwapi/string.c +++ b/dlls/shlwapi/string.c @@ -2,7 +2,6 @@ #include #include #include -#include #include "winerror.h" #include "windef.h" @@ -377,7 +376,7 @@ LPWSTR WINAPI StrRChrIW( LPCWSTR lpStart, LPCWSTR lpEnd, WORD wMatch) if (!lpEnd) lpEnd = lpStart + strlenW(lpStart); for(; lpStart < lpEnd; lpStart = CharNextW(lpStart)) - if (towupper(*lpStart) == towupper(wMatch)) lpGotIt = lpStart; + if (toupperW(*lpStart) == toupperW(wMatch)) lpGotIt = lpStart; return (LPWSTR)lpGotIt; }