use UI language set by user for l10n, closes #27

pull/1/head
Heiko Hund 12 years ago
parent 77d2f5b2b2
commit c00191f51e

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

Loading…
Cancel
Save