aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConstantin Wenger <constantin.wenger@googlemail.com>2011-07-31 14:28:07 +0200
committerConstantin Wenger <constantin.wenger@googlemail.com>2011-07-31 14:28:07 +0200
commit54de4afd75ba7102925484fd5ed1d6fba3df46f6 (patch)
treeff5d48f481f2d956a35f52b92d1824212ff5c19b /src
parent50dc2d8112786907aebdb1324f79cb4f88039c50 (diff)
downloadminetest-54de4afd75ba7102925484fd5ed1d6fba3df46f6.tar.gz
minetest-54de4afd75ba7102925484fd5ed1d6fba3df46f6.tar.bz2
minetest-54de4afd75ba7102925484fd5ed1d6fba3df46f6.zip
last fix was shit but this one works (tested)
Diffstat (limited to 'src')
-rw-r--r--src/gettext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gettext.h b/src/gettext.h
index b62421c78..ff3a0f8cb 100644
--- a/src/gettext.h
+++ b/src/gettext.h
@@ -13,8 +13,8 @@
inline void init_gettext(const char *path) {
#if USE_GETTEXT
- #if MSVC
- #else
+ // don't do this if MSVC compiler is used, it gives an assertion fail
+ #ifndef _MSC_VER
setlocale(LC_MESSAGES, "");
#endif
bindtextdomain(PROJECT_NAME, path);