mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Add a hack which allows to boot with Armenian language.
svn path=/trunk/; revision=38170
This commit is contained in:
parent
32eb774e68
commit
6c8e595de5
1 changed files with 10 additions and 4 deletions
|
@ -262,8 +262,11 @@ FrLdrLoadNlsFiles(PCHAR szSystemRoot,
|
|||
rc = RegQueryValue(hKey, szIdBuffer, NULL, (PUCHAR)szNameBuffer, &BufferSize);
|
||||
if (rc != ERROR_SUCCESS) {
|
||||
|
||||
strcpy(szErrorOut, "ACP NLS Setting exists, but isn't readable");
|
||||
return(FALSE);
|
||||
//strcpy(szErrorOut, "ACP NLS Setting exists, but isn't readable");
|
||||
//return(FALSE);
|
||||
|
||||
/* HACK */
|
||||
wcscpy(szNameBuffer, L"c_1252.nls");
|
||||
}
|
||||
|
||||
/* load ANSI codepage table */
|
||||
|
@ -288,8 +291,11 @@ FrLdrLoadNlsFiles(PCHAR szSystemRoot,
|
|||
rc = RegQueryValue(hKey, szIdBuffer, NULL, (PUCHAR)szNameBuffer, &BufferSize);
|
||||
if (rc != ERROR_SUCCESS) {
|
||||
|
||||
strcpy(szErrorOut, "OEMCP NLS setting exists, but isn't readable");
|
||||
return(FALSE);
|
||||
//strcpy(szErrorOut, "OEMCP NLS setting exists, but isn't readable");
|
||||
//return(FALSE);
|
||||
|
||||
/* HACK */
|
||||
wcscpy(szNameBuffer, L"c_437.nls");
|
||||
}
|
||||
|
||||
/* load OEM codepage table */
|
||||
|
|
Loading…
Reference in a new issue