Fixed toupper/_toupper mixup.

This commit is contained in:
Alexandre Julliard 2001-01-15 19:57:48 +00:00
parent f7f1defb4f
commit ea6a10def8
3 changed files with 6 additions and 4 deletions

View File

@ -496,8 +496,8 @@ debug_channels (crtdll)
@ forward time msvcrt.time
@ forward tmpfile msvcrt.tmpfile
@ forward tmpnam msvcrt.tmpnam
@ forward tolower msvcrt._tolower
@ forward toupper msvcrt._toupper
@ forward tolower msvcrt.tolower
@ forward toupper msvcrt.toupper
@ forward towlower msvcrt.towlower
@ forward towupper msvcrt.towupper
@ forward ungetc msvcrt.ungetc

View File

@ -238,7 +238,7 @@ int __cdecl MSVCRT___iscsymf(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)
*/
int __cdecl MSVCRT__tolower(int c)
{
return tolower(c);
return c + 0x20; /* sic */
}

View File

@ -731,6 +731,8 @@ debug_channels (msvcrt)
@ cdecl time(ptr) MSVCRT_time
@ cdecl tmpfile() MSVCRT_tmpfile
@ cdecl tmpnam(str) MSVCRT_tmpnam
@ cdecl tolower(long) tolower
@ cdecl toupper(long) toupper
@ forward towlower ntdll.towlower
@ forward towupper ntdll.towupper
@ stub ungetc #(long ptr)