summaryrefslogtreecommitdiff
path: root/src/utils/gettexthelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-15 20:21:16 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-15 20:21:16 +0300
commit516d635b6cbce6e38cc3e4f227f6ab0b073925b9 (patch)
tree61f4e9eab9bae255375e94c29d4663b5d8f217c5 /src/utils/gettexthelper.cpp
parent0e7b238a3794a9d2bb8dbf66adfe65bf6f1f4046 (diff)
downloadmanaplus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.tar.gz
manaplus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.tar.bz2
manaplus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.tar.xz
manaplus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.zip
Fix code style.
Diffstat (limited to 'src/utils/gettexthelper.cpp')
-rw-r--r--src/utils/gettexthelper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/gettexthelper.cpp b/src/utils/gettexthelper.cpp
index 2de5589dc..3ee1bb0b3 100644
--- a/src/utils/gettexthelper.cpp
+++ b/src/utils/gettexthelper.cpp
@@ -20,7 +20,9 @@
#include "utils/gettexthelper.h"
+#if defined(ENABLE_NLS) || defined(ENABLE_CUSTOMNLS)
#include "configuration.h"
+#endif
#ifdef ENABLE_NLS
#include "client.h"
@@ -77,7 +79,6 @@ static std::string setLangEnv()
setEnv("LANGUAGE", lang.c_str());
}
#endif // WIN32
-
}
return lang;