last fix was shit but this one works (tested)
authorConstantin Wenger <constantin.wenger@googlemail.com>
Sun, 31 Jul 2011 12:28:07 +0000 (14:28 +0200)
committerConstantin Wenger <constantin.wenger@googlemail.com>
Sun, 31 Jul 2011 12:28:07 +0000 (14:28 +0200)
src/gettext.h

index b62421c78d908c148b43c62638045df0d65804cd..ff3a0f8cb7a5c52e8a7fe3565f5a0f6d6bd10059 100644 (file)
@@ -13,8 +13,8 @@
 
 inline void init_gettext(const char *path) {
 #if USE_GETTEXT
-       #if MSVC
-       #else
+       // don't do this if MSVC compiler is used, it gives an assertion fail
+       #ifndef _MSC_VER
                setlocale(LC_MESSAGES, "");
        #endif
        bindtextdomain(PROJECT_NAME, path);