kernel32: Don't use toupper.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Piotr Caban 2019-03-27 14:08:06 +01:00 committed by Alexandre Julliard
parent 09e6aa4b88
commit 342ccda6ed
1 changed files with 2 additions and 1 deletions

View File

@ -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 */