Commit cbcbaf36 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Fix mbcasemap initialization.

parent 9b64ea2b
...@@ -365,7 +365,7 @@ threadmbcinfo* create_mbcinfo(int cp, LCID lcid, threadmbcinfo *old_mbcinfo) ...@@ -365,7 +365,7 @@ threadmbcinfo* create_mbcinfo(int cp, LCID lcid, threadmbcinfo *old_mbcinfo)
{ {
if(!(mbcinfo->mbctype[i + 1] & _M1)) if(!(mbcinfo->mbctype[i + 1] & _M1))
{ {
if(mbcinfo->mbctype[i] & (C1_UPPER|C1_LOWER)) if(mbcinfo->mbctype[i + 1] & (_SBUP | _SBLOW))
mbcinfo->mbcasemap[i] = bufA[charcount]; mbcinfo->mbcasemap[i] = bufA[charcount];
charcount++; charcount++;
} }
......
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