From 50dc2d8112786907aebdb1324f79cb4f88039c50 Mon Sep 17 00:00:00 2001 From: Constantin Wenger Date: Sat, 30 Jul 2011 23:05:40 +0200 Subject: fixe for msvc broke linux --- src/gettext.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gettext.h') 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 -- cgit v1.2.3