summaryrefslogtreecommitdiff
path: root/src/utils/gettexthelper.cpp
diff options
context:
space:
mode:
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;