diff options
author | Constantin Wenger <constantin.wenger@googlemail.com> | 2011-07-30 23:05:40 +0200 |
---|---|---|
committer | Constantin Wenger <constantin.wenger@googlemail.com> | 2011-07-30 23:05:40 +0200 |
commit | 50dc2d8112786907aebdb1324f79cb4f88039c50 (patch) | |
tree | 5afe3d0505fbc93a3ae7045cd0163d97e43a0577 /src/gettext.h | |
parent | 3c0090c0df37df2a5176ced8f8dcb20292df599e (diff) | |
download | minetest-50dc2d8112786907aebdb1324f79cb4f88039c50.tar.gz minetest-50dc2d8112786907aebdb1324f79cb4f88039c50.tar.bz2 minetest-50dc2d8112786907aebdb1324f79cb4f88039c50.zip |
fixe for msvc broke linux
Diffstat (limited to 'src/gettext.h')
-rw-r--r-- | src/gettext.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |