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:
c5a137c
)
Fix tooltip colors specified by formspec part
author
rubenwardy
<rw@rubenwardy.com>
Sat, 4 Aug 2018 17:40:34 +0000
(18:40 +0100)
committer
rubenwardy
<rw@rubenwardy.com>
Sat, 4 Aug 2018 18:01:07 +0000
(19:01 +0100)
src/irrlicht_changes/static_text.h
patch
|
blob
|
history
diff --git
a/src/irrlicht_changes/static_text.h
b/src/irrlicht_changes/static_text.h
index 3e8d07c858fc847dd697d8bf3898bfe4759ef477..c15bf869a12c6c44c1caf48172f308c193a0af1b 100644
(file)
--- a/
src/irrlicht_changes/static_text.h
+++ b/
src/irrlicht_changes/static_text.h
@@
-274,7
+274,7
@@
inline void setStaticText(irr::gui::IGUIStaticText *static_text, const EnrichedS
inline void setStaticText(irr::gui::IGUIStaticText *static_text, const wchar_t *text)
{
- setStaticText(static_text, EnrichedString(text));
+ setStaticText(static_text, EnrichedString(text
, static_text->getOverrideColor()
));
}
#endif // _IRR_COMPILE_WITH_GUI_