From: Piotr Caban piotr@codeweavers.com
--- dlls/msvcrt/ctype.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcrt/ctype.c b/dlls/msvcrt/ctype.c index 89d25e5e5e5..ddb7e7ab9cc 100644 --- a/dlls/msvcrt/ctype.c +++ b/dlls/msvcrt/ctype.c @@ -541,9 +541,9 @@ int CDECL _tolower_l(int c, _locale_t locale)
if((unsigned)c < 256) { - if(locinfo->pctype[c] & _LEADBYTE) - return c; - return locinfo->pclmap[c]; + if(locinfo->pctype[c] & _UPPER) + return locinfo->pclmap[c]; + return c; }
if(locinfo->pctype[(c>>8)&255] & _LEADBYTE)