Browse Source

use GetSystemDefaultLCID() for determination of the system language

pull/1/head
Heiko Hund 15 years ago
parent
commit
223cf23748
  1. 2
      localization.c

2
localization.c

@ -71,7 +71,7 @@ GetGUILanguage(void)
if (status == ERROR_SUCCESS) if (status == ERROR_SUCCESS)
GetRegistryValueNumeric(regkey, _T("ui_language"), &value); GetRegistryValueNumeric(regkey, _T("ui_language"), &value);
gui_language = ( value != 0 ? value : LANGIDFROMLCID(GetThreadLocale()) ); gui_language = ( value != 0 ? value : LANGIDFROMLCID(GetSystemDefaultLCID()) );
return gui_language; return gui_language;
} }

Loading…
Cancel
Save