mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:46:38 +00:00
- Use English resources when no default locale is specified (Temporary fix).
- Added registry entry for the per user local setting. svn path=/trunk/; revision=7830
This commit is contained in:
parent
029c2688e6
commit
3763ee7ad1
2 changed files with 6 additions and 1 deletions
|
@ -7,6 +7,8 @@ HKCU,"Control Panel",,0x00000012
|
||||||
HKCU,"Control Panel\Appearance",,0x00000012
|
HKCU,"Control Panel\Appearance",,0x00000012
|
||||||
HKCU,"Control Panel\Desktop","CursorBlinkRate",0x00000002,"530"
|
HKCU,"Control Panel\Desktop","CursorBlinkRate",0x00000002,"530"
|
||||||
HKCU,"Control Panel\Desktop","DragFullWindows",0x00000002,"0"
|
HKCU,"Control Panel\Desktop","DragFullWindows",0x00000002,"0"
|
||||||
|
HKCU,"Control Panel\International",,0x00000012
|
||||||
|
HKCU,"Control Panel\International","Locale",0x00000000,"0409"
|
||||||
|
|
||||||
HKCU,"Environment",,0x00000012
|
HKCU,"Environment",,0x00000012
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: res.c,v 1.17 2003/12/09 18:22:29 gvg Exp $
|
/* $Id: res.c,v 1.18 2004/01/22 20:47:08 navaraf Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT : ReactOS user mode libraries
|
* PROJECT : ReactOS user mode libraries
|
||||||
|
@ -134,6 +134,9 @@ FindResourceExW (
|
||||||
ResourceInfo.Language = (ULONG)wLanguage;
|
ResourceInfo.Language = (ULONG)wLanguage;
|
||||||
if (ResourceInfo.Language == (ULONG) MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL)) {
|
if (ResourceInfo.Language == (ULONG) MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL)) {
|
||||||
ResourceInfo.Language = (ULONG) GetUserDefaultLangID();
|
ResourceInfo.Language = (ULONG) GetUserDefaultLangID();
|
||||||
|
if (ResourceInfo.Language == (ULONG) MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL)) {
|
||||||
|
ResourceInfo.Language = (ULONG) MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Status = LdrFindResource_U (hModule,
|
Status = LdrFindResource_U (hModule,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue