1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-05 17:05:05 -05:00
This commit is contained in:
BlockMen 2015-10-26 15:14:22 +01:00
parent bc0318d2fc
commit 2c25107c31

View File

@ -160,7 +160,7 @@ void init_gettext(const char *path, const std::string &configured_language,
// Allow calling without an extension
std::string app_name = argv[0];
if (app_name.compare(appname.size() - 4, 4, ".exe") != 0)
if (app_name.compare(app_name.size() - 4, 4, ".exe") != 0)
app_name += ".exe";
STARTUPINFO startup_info = {0};
@ -246,4 +246,3 @@ void init_gettext(const char *path, const std::string &configured_language,
infostream << "Message locale is now set to: "
<< setlocale(LC_ALL, 0) << std::endl;
}