msvcrt: Handle C locale in _setmbcp.

This commit is contained in:
Piotr Caban 2011-10-12 11:55:20 +02:00 committed by Alexandre Julliard
parent cf27cb4927
commit c9cdb55066
1 changed files with 3 additions and 1 deletions

View File

@ -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;