summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2016-07-03 19:36:51 +0200
committerest31 <MTest31@outlook.com>2016-07-03 21:49:33 +0200
commite1aa98fe077faecb14a9820f3861bb1c82b5db6e (patch)
treeab64589f649328015f87d83be2af5334701d47b4 /src/client
parent3c63c3044d5e4ca36c2649c530f31622581d90fd (diff)
downloadminetest-e1aa98fe077faecb14a9820f3861bb1c82b5db6e.tar.gz
minetest-e1aa98fe077faecb14a9820f3861bb1c82b5db6e.tar.bz2
minetest-e1aa98fe077faecb14a9820f3861bb1c82b5db6e.zip
Remove top left minetest watermark
Move version information into the window caption. On popular player request. Fixes #4209.
Diffstat (limited to 'src/client')
-rw-r--r--src/client/clientlauncher.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp
index ee8662ed6..a0781ef37 100644
--- a/src/client/clientlauncher.cpp
+++ b/src/client/clientlauncher.cpp
@@ -34,6 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "fontengine.h"
#include "joystick_controller.h"
#include "clientlauncher.h"
+#include "version.h"
/* mainmenumanager.h
*/
@@ -185,7 +186,9 @@ bool ClientLauncher::run(GameParams &game_params, const Settings &cmd_args)
{
// Set the window caption
const wchar_t *text = wgettext("Main Menu");
- device->setWindowCaption((utf8_to_wide(PROJECT_NAME_C) + L" [" + text + L"]").c_str());
+ device->setWindowCaption((utf8_to_wide(PROJECT_NAME_C) +
+ L" " + utf8_to_wide(g_version_hash) +
+ L" [" + text + L"]").c_str());
delete[] text;
try { // This is used for catching disconnects