Commit ea6a10de authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed toupper/_toupper mixup.

parent f7f1defb
...@@ -496,8 +496,8 @@ debug_channels (crtdll) ...@@ -496,8 +496,8 @@ debug_channels (crtdll)
@ forward time msvcrt.time @ forward time msvcrt.time
@ forward tmpfile msvcrt.tmpfile @ forward tmpfile msvcrt.tmpfile
@ forward tmpnam msvcrt.tmpnam @ forward tmpnam msvcrt.tmpnam
@ forward tolower msvcrt._tolower @ forward tolower msvcrt.tolower
@ forward toupper msvcrt._toupper @ forward toupper msvcrt.toupper
@ forward towlower msvcrt.towlower @ forward towlower msvcrt.towlower
@ forward towupper msvcrt.towupper @ forward towupper msvcrt.towupper
@ forward ungetc msvcrt.ungetc @ forward ungetc msvcrt.ungetc
......
...@@ -238,7 +238,7 @@ int __cdecl MSVCRT___iscsymf(int c) ...@@ -238,7 +238,7 @@ int __cdecl MSVCRT___iscsymf(int c)
*/ */
int __cdecl MSVCRT__toupper(int c) int __cdecl MSVCRT__toupper(int c)
{ {
return toupper(c); return c - 0x20; /* sic */
} }
/********************************************************************* /*********************************************************************
...@@ -246,5 +246,5 @@ int __cdecl MSVCRT__toupper(int c) ...@@ -246,5 +246,5 @@ int __cdecl MSVCRT__toupper(int c)
*/ */
int __cdecl MSVCRT__tolower(int c) int __cdecl MSVCRT__tolower(int c)
{ {
return tolower(c); return c + 0x20; /* sic */
} }
...@@ -731,6 +731,8 @@ debug_channels (msvcrt) ...@@ -731,6 +731,8 @@ debug_channels (msvcrt)
@ cdecl time(ptr) MSVCRT_time @ cdecl time(ptr) MSVCRT_time
@ cdecl tmpfile() MSVCRT_tmpfile @ cdecl tmpfile() MSVCRT_tmpfile
@ cdecl tmpnam(str) MSVCRT_tmpnam @ cdecl tmpnam(str) MSVCRT_tmpnam
@ cdecl tolower(long) tolower
@ cdecl toupper(long) toupper
@ forward towlower ntdll.towlower @ forward towlower ntdll.towlower
@ forward towupper ntdll.towupper @ forward towupper ntdll.towupper
@ stub ungetc #(long ptr) @ stub ungetc #(long ptr)
......
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