mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-02-22 14:27:41 +01:00
Fixed bug with windows locale
This commit is contained in:
parent
dccf887d42
commit
84db6f26cf
@ -217,6 +217,8 @@ language_get_code(gchar *buf)
|
|||||||
|
|
||||||
#ifdef G_OS_UNIX
|
#ifdef G_OS_UNIX
|
||||||
cur_locale = setlocale(LC_MESSAGES, NULL);
|
cur_locale = setlocale(LC_MESSAGES, NULL);
|
||||||
|
#else
|
||||||
|
cur_locale = g_win32_getlocale ();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(strcmp(opt_str("string_opt_language_code"), "C") == 0)
|
if(strcmp(opt_str("string_opt_language_code"), "C") == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user