diff options
author | ShadowNinja <shadowninja@minetest.net> | 2015-02-01 17:59:23 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-02-05 03:24:22 -0500 |
commit | 9e2a9b55e185b92074b32d3df336920f33b29e5a (patch) | |
tree | 0ec7b908b01ef62db67a27cfcfba413a3adf6748 /src/main.cpp | |
parent | 84c367bb468441efe428478d3918f07a9b6c2d72 (diff) | |
download | minetest-9e2a9b55e185b92074b32d3df336920f33b29e5a.tar.gz minetest-9e2a9b55e185b92074b32d3df336920f33b29e5a.tar.bz2 minetest-9e2a9b55e185b92074b32d3df336920f33b29e5a.zip |
Reduce gettext wide/narrow and string/char* conversions
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
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; |