projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc0318d
)
Fix typo
author
BlockMen
<nmuelll@web.de>
Mon, 26 Oct 2015 14:14:22 +0000
(15:14 +0100)
committer
BlockMen
<nmuelll@web.de>
Mon, 26 Oct 2015 14:14:22 +0000
(15:14 +0100)
src/gettext.cpp
patch
|
blob
|
history
diff --git
a/src/gettext.cpp
b/src/gettext.cpp
index 1fab875e5e14745272beee1e12ff156695a3358a..81d93fef3f0666418064b4ba98093d3ee2306137 100644
(file)
--- 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;
}
-