Commit f0af162a authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

Fix bogus unreal code page messages in _setmbcp().

parent 3d96c56f
......@@ -519,10 +519,11 @@ const char* _Strftime(char *out, unsigned int len, const char *fmt,
int _setmbcp(int cp)
{
LOCK_LOCALE;
if ((msvcrt_current_lc_all_cp != cp) && (cp > _MB_CP_SBCS))
if ( cp > _MB_CP_SBCS)
{
/* FIXME: set ctype behaviour for this cp */
msvcrt_current_lc_all_cp = cp;
if( msvcrt_current_lc_all_cp != cp)
/* FIXME: set ctype behaviour for this cp */
msvcrt_current_lc_all_cp = cp;
}
else if(cp == _MB_CP_ANSI)
{
......@@ -539,13 +540,14 @@ int _setmbcp(int cp)
}
else if(cp == _MB_CP_SBCS)
{
FIXME ("SBCS codepages (e.g. %d) not implemented\n", cp);
FIXME ("SBCS codepages not implemented\n");
}
else
{
FIXME ("Unreal codepages (e.g. %d) not implemented\n", cp);
}
UNLOCK_LOCALE;
TRACE("(%d) -> %d\n", cp, msvcrt_current_lc_all_cp);
return 0;
}
......
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