Merge pull request #44 from SpeedProg/master
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>
Sun, 31 Jul 2011 12:35:27 +0000 (05:35 -0700)
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>
Sun, 31 Jul 2011 12:35:27 +0000 (05:35 -0700)
last fix was shit, so a fix for the fix -_-

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