From: SmallJoker Date: Fri, 9 Feb 2018 08:39:34 +0000 (+0100) Subject: Fix 'Change Keys' menu crash caused by 501f936 X-Git-Tag: 5.0.0~589 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=af89a25ff3527ccf0740926fe0b797c4403840b0;p=oweals%2Fminetest.git Fix 'Change Keys' menu crash caused by 501f936 --- diff --git a/src/gui/guiKeyChangeMenu.cpp b/src/gui/guiKeyChangeMenu.cpp index 53677a57b..ca97e0b9e 100644 --- a/src/gui/guiKeyChangeMenu.cpp +++ b/src/gui/guiKeyChangeMenu.cpp @@ -431,6 +431,6 @@ void GUIKeyChangeMenu::init_keys() this->add_key(GUI_ID_KEY_CMD_LOCAL_BUTTON, wgettext("Local command"), "keymap_cmd_local"); this->add_key(GUI_ID_KEY_HUD_BUTTON, wgettext("Toggle HUD"), "keymap_toggle_hud"); this->add_key(GUI_ID_KEY_CHATLOG_BUTTON, wgettext("Toggle chat log"), "keymap_toggle_chat"); - this->add_key(GUI_ID_KEY_FOG_BUTTON, wgettext("Toggle fog"), "keymap_toggle_force_fog_off"); + this->add_key(GUI_ID_KEY_FOG_BUTTON, wgettext("Toggle fog"), "keymap_toggle_fog"); }