gettext.cpp: Fix syntax error when using MSVC
Also remove trailing whitespaces from the filemaster
parent
714b68add2
commit
dce9468925
|
@ -202,6 +202,7 @@ void init_gettext(const char *path, const std::string &configured_language) {
|
|||
else {
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
#else
|
||||
errorstream << "*******************************************************" << std::endl;
|
||||
errorstream << "Can't apply locale workaround for server!" << std::endl;
|
||||
|
@ -209,7 +210,6 @@ void init_gettext(const char *path, const std::string &configured_language) {
|
|||
errorstream << "*******************************************************" << std::endl;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
setlocale(LC_ALL,configured_language.c_str());
|
||||
#else // Mingw
|
||||
|
|
Loading…
Reference in New Issue