Skip to content

Commit 2c25107

Browse files
committedOct 26, 2015
Fix typo
1 parent bc0318d commit 2c25107

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

Diff for: ‎src/gettext.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void init_gettext(const char *path, const std::string &configured_language,
160160

161161
// Allow calling without an extension
162162
std::string app_name = argv[0];
163-
if (app_name.compare(appname.size() - 4, 4, ".exe") != 0)
163+
if (app_name.compare(app_name.size() - 4, 4, ".exe") != 0)
164164
app_name += ".exe";
165165

166166
STARTUPINFO startup_info = {0};
@@ -246,4 +246,3 @@ void init_gettext(const char *path, const std::string &configured_language,
246246
infostream << "Message locale is now set to: "
247247
<< setlocale(LC_ALL, 0) << std::endl;
248248
}
249-

0 commit comments

Comments
 (0)
Please sign in to comment.