summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-30 14:08:18 -0700
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-30 14:08:18 -0700
commit2f6e93192178e96303f11ecf783f0de36ddebeb3 (patch)
tree5afe3d0505fbc93a3ae7045cd0163d97e43a0577 /src
parent185c0bd5870d95b130e76d5cc3869442b4e73e69 (diff)
parent50dc2d8112786907aebdb1324f79cb4f88039c50 (diff)
downloadminetest-2f6e93192178e96303f11ecf783f0de36ddebeb3.tar.gz
minetest-2f6e93192178e96303f11ecf783f0de36ddebeb3.tar.bz2
minetest-2f6e93192178e96303f11ecf783f0de36ddebeb3.zip
Merge pull request #41 from SpeedProg/master
fixe gettext I hope
Diffstat (limited to 'src')
-rw-r--r--src/gettext.h4
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