Skip to content

Commit

Permalink
Add newline before itemstring in item tooltip (#8213)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy2 authored and SmallJoker committed Mar 17, 2019
1 parent d50feb8 commit 9f1b98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/guiFormSpecMenu.cpp
Expand Up @@ -2425,7 +2425,7 @@ void GUIFormSpecMenu::drawList(const ListDrawSpec &s, int layer,
if (tooltip_text.empty())
tooltip_text = utf8_to_wide(item.name);
else if (m_tooltip_append_itemname)
tooltip_text += utf8_to_wide(" [" + item.name + "]");
tooltip_text += utf8_to_wide("\n[" + item.name + "]");
}
}
if (!tooltip_text.empty()) {
Expand Down

0 comments on commit 9f1b98b

Please sign in to comment.