Skip to content
Permalink
Browse files
Add newline before itemstring in item tooltip (#8213)
  • Loading branch information
Wuzzy2 authored and SmallJoker committed Mar 17, 2019
1 parent d50feb8 commit 9f1b98b9978fa90dc939663a73f17727f9e32425
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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()) {

0 comments on commit 9f1b98b

Please sign in to comment.