mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 08:25:48 +00:00
[FREELDR]
HACK: Fix booting with Armenian and other "exotic" languages. Bug #6727. svn path=/trunk/; revision=54602
This commit is contained in:
parent
bf94fe34bc
commit
783d0965a3
1 changed files with 4 additions and 2 deletions
|
@ -225,7 +225,8 @@ WinLdrGetNLSNames(LPSTR AnsiName,
|
||||||
if (rc != ERROR_SUCCESS)
|
if (rc != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
//strcpy(szErrorOut, "ACP NLS Setting exists, but isn't readable");
|
//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);
|
sprintf(AnsiName, "%S", NameBuffer);
|
||||||
|
|
||||||
|
@ -243,7 +244,8 @@ WinLdrGetNLSNames(LPSTR AnsiName,
|
||||||
if (rc != ERROR_SUCCESS)
|
if (rc != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
//strcpy(szErrorOut, "OEMCP NLS setting exists, but isn't readable");
|
//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);
|
sprintf(OemName, "%S", NameBuffer);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue