aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-08-04 18:40:34 +0100
committerrubenwardy <rw@rubenwardy.com>2018-08-04 19:01:07 +0100
commit18368824958139f1428d534082852d778982b4c9 (patch)
tree6d99b79d45599ef3691d6901302e441b266e7574
parentc5a137c29c455d05de971b1447349346b16a8793 (diff)
downloadminetest-18368824958139f1428d534082852d778982b4c9.tar.gz
minetest-18368824958139f1428d534082852d778982b4c9.tar.bz2
minetest-18368824958139f1428d534082852d778982b4c9.zip
Fix tooltip colors specified by formspec part
-rw-r--r--src/irrlicht_changes/static_text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irrlicht_changes/static_text.h b/src/irrlicht_changes/static_text.h
index 3e8d07c85..c15bf869a 100644
--- 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_