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