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

msvcrt: Handle C locale in _setmbcp.

parent cf27cb49
......@@ -209,7 +209,9 @@ int CDECL _setmbcp(int cp)
break;
case _MB_CP_LOCALE:
newcp = locinfo->lc_codepage;
break;
if(newcp)
break;
/* fall through (C locale) */
case _MB_CP_SBCS:
newcp = 20127; /* ASCII */
break;
......
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