Skip to content
Permalink
Browse files

Don't append itemname to itemname in tooltip (#8176)

  • Loading branch information...
Wuzzy2 authored and SmallJoker committed Feb 9, 2019
1 parent d5456da commit f5bdc04ab5b47bd094ba0ced5f086e8fe6b12298
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/guiFormSpecMenu.cpp
@@ -2424,7 +2424,7 @@ void GUIFormSpecMenu::drawList(const ListDrawSpec &s, int layer,
if (!item.name.empty()) {
if (tooltip_text.empty())
tooltip_text = utf8_to_wide(item.name);
if (m_tooltip_append_itemname)
else if (m_tooltip_append_itemname)
tooltip_text += utf8_to_wide(" [" + item.name + "]");
}
}

0 comments on commit f5bdc04

Please sign in to comment.
You can’t perform that action at this time.