Author: dgorbachev
Date: Tue Dec 6 17:38:06 2011
New Revision: 54602
URL:
http://svn.reactos.org/svn/reactos?rev=54602&view=rev
Log:
[FREELDR]
HACK: Fix booting with Armenian and other "exotic" languages. Bug #6727.
Modified:
trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c
Modified: trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/windo…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c [iso-8859-1] Tue Dec 6
17:38:06 2011
@@ -225,7 +225,8 @@
if (rc != ERROR_SUCCESS)
{
//strcpy(szErrorOut, "ACP NLS Setting exists, but isn't readable");
- return FALSE;
+ //return FALSE;
+ wcscpy(NameBuffer, L"c_1252.nls"); // HACK: ReactOS bug #6727
}
sprintf(AnsiName, "%S", NameBuffer);
@@ -243,7 +244,8 @@
if (rc != ERROR_SUCCESS)
{
//strcpy(szErrorOut, "OEMCP NLS setting exists, but isn't readable");
- return FALSE;
+ //return FALSE;
+ wcscpy(NameBuffer, L"c_437.nls"); // HACK: ReactOS bug #6727
}
sprintf(OemName, "%S", NameBuffer);