1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

gettext.cpp: Fix syntax error when using MSVC

Also remove trailing whitespaces from the file
This commit is contained in:
jh10001 2015-09-01 02:36:02 +08:00 committed by est31
parent 714b68add2
commit dce9468925

View file

@ -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