diff options
author | JosiahWI <41302989+JosiahWI@users.noreply.github.com> | 2022-06-26 08:37:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 14:37:50 +0100 |
commit | 4163c872af4fd75ea48b4acfe81888450e0749e6 (patch) | |
tree | 796a000687eef987e00e58f02eb5d83e341ba667 /src/client | |
parent | 4b087a0de2e46ba32b79084602356d7e0221637f (diff) | |
download | minetest-4163c872af4fd75ea48b4acfe81888450e0749e6.tar.gz minetest-4163c872af4fd75ea48b4acfe81888450e0749e6.tar.bz2 minetest-4163c872af4fd75ea48b4acfe81888450e0749e6.zip |
Fix two memleak reports from Coverity (#12466)
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp index fb954d53f..81a996c08 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1905,7 +1905,7 @@ void Game::processKeyInput() if (client->modsLoaded()) openConsole(0.2, L"."); else - m_game_ui->showStatusText(wgettext("Client side scripting is disabled")); + m_game_ui->showTranslatedStatusText("Client side scripting is disabled"); } else if (wasKeyDown(KeyType::CONSOLE)) { openConsole(core::clamp(g_settings->getFloat("console_height"), 0.1f, 1.0f)); } else if (wasKeyDown(KeyType::FREEMOVE)) { |