Commit 342ccda6 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

kernel32: Don't use toupper.

parent 09e6aa4b
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment