[FREELDR]

HACK: Fix booting with Armenian and other "exotic" languages. Bug #6727.

svn path=/trunk/; revision=54602
This commit is contained in:
Dmitry Gorbachev 2011-12-06 17:38:06 +00:00
parent bf94fe34bc
commit 783d0965a3

View file

@ -225,7 +225,8 @@ WinLdrGetNLSNames(LPSTR AnsiName,
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 @@ WinLdrGetNLSNames(LPSTR AnsiName,
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);