Skip to content

Commit

Permalink
Don't append itemname to itemname in tooltip (#8176)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy2 authored and SmallJoker committed Feb 9, 2019
1 parent d5456da commit f5bdc04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/guiFormSpecMenu.cpp
Expand Up @@ -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 + "]");
}
}
Expand Down

0 comments on commit f5bdc04

Please sign in to comment.