Author: ion
Date: Sat Aug 31 19:24:54 2013
New Revision: 59930
URL:
http://svn.reactos.org/svn/reactos?rev=59930&view=rev
Log:
[KERNEL32]: Add a DPRINT1 when failing GetCPInfo in kernel32, to highlight the fact our
MSVCRT is sending us bogus codepage/locale IDs.
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] Sat Aug 31 19:24:54
2013
@@ -1747,6 +1747,7 @@
return TRUE;
}
+ DPRINT1("Invalid CP!: %lx\n", CodePage);
SetLastError( ERROR_INVALID_PARAMETER );
return FALSE;
}