From: Constantin Wenger Date: Sat, 30 Jul 2011 21:05:40 +0000 (+0200) Subject: fixe for msvc broke linux X-Git-Tag: 0.2.20110922~81^2~21^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=50dc2d8112786907aebdb1324f79cb4f88039c50;p=oweals%2Fminetest.git fixe for msvc broke linux --- diff --git a/src/gettext.h b/src/gettext.h index 3413f3806..b62421c78 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