Module: wine Branch: master Commit: 342ccda6ed28efc69071660f22ddde4e7ae94d87 URL: https://source.winehq.org/git/wine.git/?a=commit;h=342ccda6ed28efc69071660f2...
Author: Piotr Caban piotr@codeweavers.com Date: Wed Mar 27 14:08:06 2019 +0100
kernel32: Don't use toupper.
Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/kernel32/lzexpand.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/kernel32/lzexpand.c b/dlls/kernel32/lzexpand.c index 319c1c8..4b2ec2e 100644 --- a/dlls/kernel32/lzexpand.c +++ b/dlls/kernel32/lzexpand.c @@ -46,6 +46,7 @@
#include "windef.h" #include "winbase.h" +#include "winternl.h" #include "lzexpand.h"
#include "wine/unicode.h" @@ -285,7 +286,7 @@ INT WINAPI GetExpandedNameA( LPSTR in, LPSTR out ) if (fnislowercased) head.lastchar=tolower(head.lastchar); else - head.lastchar=toupper(head.lastchar); + head.lastchar=RtlUpperChar(head.lastchar); }
/* now look where to replace the last character */