Fix syntax error.

This commit is contained in:
jh10001 2015-09-01 02:36:02 +08:00
parent 714b68add2
commit a208487552
1 changed files with 5 additions and 5 deletions

View File

@ -202,14 +202,14 @@ void init_gettext(const char *path, const std::string &configured_language) {
else { else {
exit(0); exit(0);
} }
}
#else #else
errorstream << "*******************************************************" << std::endl; errorstream << "*******************************************************" << std::endl;
errorstream << "Can't apply locale workaround for server!" << std::endl; errorstream << "Can't apply locale workaround for server!" << std::endl;
errorstream << "Expect language to be broken!" << std::endl; errorstream << "Expect language to be broken!" << std::endl;
errorstream << "*******************************************************" << std::endl; errorstream << "*******************************************************" << std::endl;
#endif #endif
}
setlocale(LC_ALL,configured_language.c_str()); setlocale(LC_ALL,configured_language.c_str());
#else // Mingw #else // Mingw