From: Constantin Wenger Date: Sun, 31 Jul 2011 12:28:07 +0000 (+0200) Subject: last fix was shit but this one works (tested) X-Git-Tag: 0.2.20110922~81^2~21^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=54de4afd75ba7102925484fd5ed1d6fba3df46f6;p=oweals%2Fminetest.git last fix was shit but this one works (tested) --- diff --git a/src/gettext.h b/src/gettext.h index b62421c78..ff3a0f8cb 100644 --- a/src/gettext.h +++ b/src/gettext.h @@ -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);