1
1
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:
idcarlos 2006-04-08 19:41:40 +00:00
parent dccf887d42
commit 84db6f26cf

View File

@ -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)