Piotr Caban : ntdll: Use NTDLL_tolower in _memicmp.

Alexandre Julliard julliard at winehq.org
Tue Mar 26 16:43:13 CDT 2019


Module: wine
Branch: master
Commit: f9ee9e63a5a83a6bfec429e52b3e660655e12be5
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f9ee9e63a5a83a6bfec429e52b3e660655e12be5

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Tue Mar 26 10:26:22 2019 +0100

ntdll: Use NTDLL_tolower in _memicmp.

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/string.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/string.c b/dlls/ntdll/string.c
index 3e71740..0323c09 100644
--- a/dlls/ntdll/string.c
+++ b/dlls/ntdll/string.c
@@ -249,7 +249,7 @@ INT __cdecl _memicmp( LPCSTR s1, LPCSTR s2, DWORD len )
     int ret = 0;
     while (len--)
     {
-        if ((ret = tolower(*s1) - tolower(*s2))) break;
+        if ((ret = NTDLL_tolower(*s1) - NTDLL_tolower(*s2))) break;
         s1++;
         s2++;
     }




More information about the wine-cvs mailing list