fixe for msvc broke linux
authorConstantin Wenger <constantin.wenger@googlemail.com>
Sat, 30 Jul 2011 21:05:40 +0000 (23:05 +0200)
committerConstantin Wenger <constantin.wenger@googlemail.com>
Sat, 30 Jul 2011 21:05:40 +0000 (23:05 +0200)
src/gettext.h

index 3413f38068220c5538665bd429f50c1a506d6314..b62421c78d908c148b43c62638045df0d65804cd 100644 (file)
 
 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