g-key-file-error-quark occures rather often and freezes RT, Issue 807
This commit is contained in:
@@ -140,6 +140,7 @@ Glib::ustring MultiLangMgr::getOSUserLanguage() {
|
||||
#elif defined(__linux__) || defined(__APPLE__)
|
||||
char *tmplocale;
|
||||
tmplocale = setlocale(LC_CTYPE,"");
|
||||
setlocale(LC_NUMERIC, "C"); // to set decimal point to "."
|
||||
if(tmplocale)
|
||||
langName = TranslateRFC2Language(tmplocale);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user