diff options
author | BlockMen <nmuelll@web.de> | 2015-10-26 15:14:22 +0100 |
---|---|---|
committer | BlockMen <nmuelll@web.de> | 2015-10-26 15:14:22 +0100 |
commit | 2c25107c31c0b0e72fe4a48b0dc3f5b09a0b46aa (patch) | |
tree | fa12320afa1b5e252af07006ddda60accc78eca9 /src/gettext.cpp | |
parent | bc0318d2fc0d435e20b1186203ce2908162241ca (diff) | |
download | minetest-2c25107c31c0b0e72fe4a48b0dc3f5b09a0b46aa.tar.gz minetest-2c25107c31c0b0e72fe4a48b0dc3f5b09a0b46aa.tar.bz2 minetest-2c25107c31c0b0e72fe4a48b0dc3f5b09a0b46aa.zip |
Fix typo
Diffstat (limited to 'src/gettext.cpp')
-rw-r--r-- | src/gettext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gettext.cpp b/src/gettext.cpp index 1fab875e5..81d93fef3 100644 --- a/src/gettext.cpp +++ b/src/gettext.cpp @@ -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; } - |