From: Constantin Wenger Date: Sat, 30 Jul 2011 21:05:40 +0000 (+0200) Subject: fixe for msvc broke linux X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=50dc2d8112786907aebdb1324f79cb4f88039c50;p=zefram%2Fminetest%2Fminetest_engine.git fixe for msvc broke linux --- diff --git a/src/gettext.h b/src/gettext.h index 3413f380..b62421c7 100644 --- a/src/gettext.h +++ b/src/gettext.h @@ -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