From 9f1b98b9978fa90dc939663a73f17727f9e32425 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 17 Mar 2019 13:55:02 +0100 Subject: Add newline before itemstring in item tooltip (#8213) --- src/gui/guiFormSpecMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index 6c404728f..54434931e 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -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()) { -- cgit v1.2.3