summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e7108a3e8..bbf88e80d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1684,7 +1684,7 @@ bool ClientLauncher::run(GameParams &game_params, const Settings &cmd_args)
while (device->run() && !*kill && !g_gamecallback->shutdown_requested)
{
// Set the window caption
- wchar_t *text = wgettext("Main Menu");
+ const wchar_t *text = wgettext("Main Menu");
device->setWindowCaption((std::wstring(L"Minetest [") + text + L"]").c_str());
delete[] text;