projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d50feb8
)
Add newline before itemstring in item tooltip (#8213)
author
Wuzzy
<wuzzy2@mail.ru>
Sun, 17 Mar 2019 12:55:02 +0000
(13:55 +0100)
committer
SmallJoker
<SmallJoker@users.noreply.github.com>
Sun, 17 Mar 2019 12:55:02 +0000
(13:55 +0100)
src/gui/guiFormSpecMenu.cpp
patch
|
blob
|
history
diff --git
a/src/gui/guiFormSpecMenu.cpp
b/src/gui/guiFormSpecMenu.cpp
index 6c404728fcc7a8ea15a945c2c0f6b5d396b4cfe0..54434931e9f12616dd728ae608e89214a4adb011 100644
(file)
--- 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()) {