diff options
author | DTA7 <dta7e@t-online.de> | 2017-09-16 18:42:17 +0200 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2017-09-16 18:42:17 +0200 |
commit | 45e9f8081140bfcf45f83508621a94df8f2bce20 (patch) | |
tree | fdf08de4c57b015be99dc6f83aed3435a8d1d553 /src/guiFormSpecMenu.cpp | |
parent | 45a7dd1ec4ef75b9316c518809fcef029b3d96ea (diff) | |
download | minetest-45e9f8081140bfcf45f83508621a94df8f2bce20.tar.xz |
Correct tooltip_append_itemstring terminology (#6421)
Diffstat (limited to 'src/guiFormSpecMenu.cpp')
-rw-r--r-- | src/guiFormSpecMenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp index ef2637400..9d97821f0 100644 --- a/src/guiFormSpecMenu.cpp +++ b/src/guiFormSpecMenu.cpp @@ -112,7 +112,7 @@ GUIFormSpecMenu::GUIFormSpecMenu(JoystickController *joystick, m_doubleclickdetect[1].pos = v2s32(0, 0); m_tooltip_show_delay = (u32)g_settings->getS32("tooltip_show_delay"); - m_tooltip_append_itemstring = g_settings->getBool("tooltip_append_itemstring"); + m_tooltip_append_itemname = g_settings->getBool("tooltip_append_itemname"); } GUIFormSpecMenu::~GUIFormSpecMenu() @@ -2393,7 +2393,7 @@ void GUIFormSpecMenu::drawList(const ListDrawSpec &s, int phase, if (!item.name.empty()) { if (tooltip_text.empty()) tooltip_text = utf8_to_wide(item.name); - if (m_tooltip_append_itemstring) + if (m_tooltip_append_itemname) tooltip_text += utf8_to_wide(" [" + item.name + "]"); } } |