From 223cf2374812a8dc685e5c5f193510796619acef Mon Sep 17 00:00:00 2001 From: Heiko Hund Date: Thu, 15 Apr 2010 19:20:26 +0200 Subject: [PATCH] use GetSystemDefaultLCID() for determination of the system language --- localization.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localization.c b/localization.c index 40a5768..fc6cbfd 100644 --- a/localization.c +++ b/localization.c @@ -71,7 +71,7 @@ GetGUILanguage(void) if (status == ERROR_SUCCESS) GetRegistryValueNumeric(regkey, _T("ui_language"), &value); - gui_language = ( value != 0 ? value : LANGIDFROMLCID(GetThreadLocale()) ); + gui_language = ( value != 0 ? value : LANGIDFROMLCID(GetSystemDefaultLCID()) ); return gui_language; }