Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
BlockMen committed Oct 26, 2015
1 parent bc0318d commit 2c25107
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gettext.cpp
Expand Up @@ -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};
Expand Down Expand Up @@ -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;
}

0 comments on commit 2c25107

Please sign in to comment.