Author: cwittich
Date: Sun Jun 28 12:34:01 2015
New Revision: 68300
URL: http://svn.reactos.org/svn/reactos?rev=68300&view=rev
Log:
[KERNEL32]
return the thread ansicodepage when no ansicodepage exists for a specific lcid in CP_THREAD_ACP case
Modified:
trunk/reactos/dll/win32/kernel32/winnls/string/nls.c
Modified: trunk/reactos/dll/win32/kernel32/winnls/string/nls.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/winnls/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/winnls/string/nls.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/winnls/string/nls.c [iso-8859-1] Sun Jun 28 12:34:01 2015
@@ -218,6 +218,8 @@
/* Last error is set by GetLocaleInfoW. */
return NULL;
}
+ if (CodePage == 0)
+ return &AnsiCodePage;
}
else if (CodePage == CP_MACCP)
{