diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp index 811401ea4..c3a171f86 100644 --- a/src/client/clientlauncher.cpp +++ b/src/client/clientlauncher.cpp @@ -199,7 +199,7 @@ bool ClientLauncher::run(GameParams &game_params, const Settings &cmd_args) const wchar_t *text = wgettext("Main Menu"); RenderingEngine::get_raw_device()-> setWindowCaption((utf8_to_wide(PROJECT_NAME) + - L"" + std::to_string(VERSION_MAJOR) + + L"" + utf8_to_wide(std::to_string(VERSION_MAJOR)) + L" " + utf8_to_wide(g_version_hash) + L" [" + text + L"]").c_str()); delete[] text; diff --git a/src/client/game.cpp b/src/client/game.cpp index 45dc9cec1..885025490 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1387,7 +1387,7 @@ bool Game::createClient(const std::string &playername, /* Set window caption */ std::wstring str = utf8_to_wide(PROJECT_NAME); - str += std::to_string(VERSION_MAJOR); + str += utf8_to_wide(std::to_string(VERSION_MAJOR)); str += L" VenenuX "; str += utf8_to_wide(g_version_hash); str += L" ["; diff --git a/src/terminal_chat_console.cpp b/src/terminal_chat_console.cpp index 8a3a74127..269c37912 100644 --- a/src/terminal_chat_console.cpp +++ b/src/terminal_chat_console.cpp @@ -390,7 +390,7 @@ void TerminalChatConsole::step(int ch) move(0, 0); clrtoeol(); addstr(PROJECT_NAME); - addstr(std::to_string(VERSION_MAJOR)); + addstr(VERSION_MAJOR); addstr(" VenenuX "); addstr(g_version_hash);