fixe for msvc broke linux

master
Constantin Wenger 2011-07-30 23:05:40 +02:00
parent 3c0090c0df
commit 50dc2d8112
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@
inline void init_gettext(const char *path) {
#if USE_GETTEXT
#if MSVC
#else
setlocale(LC_MESSAGES, "");
#endif
bindtextdomain(PROJECT_NAME, path);
textdomain(PROJECT_NAME);
#endif