diff options
author | PilzAdam <PilzAdam@gmx.de> | 2013-01-04 20:00:49 +0100 |
---|---|---|
committer | PilzAdam <PilzAdam@gmx.de> | 2013-01-04 20:04:48 +0100 |
commit | 615fd498bc04fce67aa72549536d38b503d7d570 (patch) | |
tree | 098e44f7f20b219d4ca5fcc00a0f3f01b79f9f73 /src/guiKeyChangeMenu.cpp | |
parent | bc879a1453561259b69c9a6602f97062b710235d (diff) | |
download | minetest-615fd498bc04fce67aa72549536d38b503d7d570.tar.gz minetest-615fd498bc04fce67aa72549536d38b503d7d570.tar.bz2 minetest-615fd498bc04fce67aa72549536d38b503d7d570.zip |
Fix typo doubletab -> doubletap
Diffstat (limited to 'src/guiKeyChangeMenu.cpp')
-rw-r--r-- | src/guiKeyChangeMenu.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/guiKeyChangeMenu.cpp b/src/guiKeyChangeMenu.cpp index 336b13e07..51a14d647 100644 --- a/src/guiKeyChangeMenu.cpp +++ b/src/guiKeyChangeMenu.cpp @@ -57,7 +57,7 @@ enum GUI_ID_KEY_RANGE_BUTTON, // other GUI_ID_CB_AUX1_DESCENDS, - GUI_ID_CB_DOUBLETAB_JUMP, + GUI_ID_CB_DOUBLETAP_JUMP, }; GUIKeyChangeMenu::GUIKeyChangeMenu(gui::IGUIEnvironment* env, @@ -160,8 +160,8 @@ void GUIKeyChangeMenu::regenerateGui(v2u32 screensize) { core::rect<s32> rect(0, 0, option_w, 30); rect += topleft + v2s32(option_x, option_y); - Environment->addCheckBox(g_settings->getBool("doubletab_jump"), rect, this, - GUI_ID_CB_DOUBLETAB_JUMP, wgettext("Doubltab \"jump\" to toogle fly")); + Environment->addCheckBox(g_settings->getBool("doubletap_jump"), rect, this, + GUI_ID_CB_DOUBLETAP_JUMP, wgettext("Doubltap \"jump\" to toogle fly")); } offset += v2s32(0, 25); } @@ -213,9 +213,9 @@ bool GUIKeyChangeMenu::acceptInput() g_settings->setBool("aux1_descends", ((gui::IGUICheckBox*)e)->isChecked()); } { - gui::IGUIElement *e = getElementFromId(GUI_ID_CB_DOUBLETAB_JUMP); + gui::IGUIElement *e = getElementFromId(GUI_ID_CB_DOUBLETAP_JUMP); if(e != NULL && e->getType() == gui::EGUIET_CHECK_BOX) - g_settings->setBool("doubletab_jump", ((gui::IGUICheckBox*)e)->isChecked()); + g_settings->setBool("doubletap_jump", ((gui::IGUICheckBox*)e)->isChecked()); } clearKeyCache(); return true; |