[KERNEL32]

return the thread ansicodepage when no ansicodepage exists for a specific lcid in CP_THREAD_ACP case

svn path=/trunk/; revision=68300
This commit is contained in:
Christoph von Wittich 2015-06-28 12:34:01 +00:00
parent 9ea5cf5ae9
commit f399e4f3e4

View file

@ -218,6 +218,8 @@ IntGetCodePageEntry(UINT CodePage)
/* Last error is set by GetLocaleInfoW. */
return NULL;
}
if (CodePage == 0)
return &AnsiCodePage;
}
else if (CodePage == CP_MACCP)
{