diff --git a/src/gettext.cpp b/src/gettext.cpp index 0c0e520ca..901451c5a 100644 --- a/src/gettext.cpp +++ b/src/gettext.cpp @@ -200,6 +200,7 @@ void init_gettext(const char *path,std::string configured_language) { else { exit(0); } + } #else errorstream << "*******************************************************" << std::endl; errorstream << "Can't apply locale workaround for server!" << std::endl; @@ -207,7 +208,6 @@ void init_gettext(const char *path,std::string configured_language) { errorstream << "*******************************************************" << std::endl; #endif - } setlocale(LC_ALL,configured_language.c_str()); #else // Mingw