diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-08-04 18:40:34 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-08-04 19:01:07 +0100 |
commit | 18368824958139f1428d534082852d778982b4c9 (patch) | |
tree | 6d99b79d45599ef3691d6901302e441b266e7574 /src | |
parent | c5a137c29c455d05de971b1447349346b16a8793 (diff) | |
download | minetest-18368824958139f1428d534082852d778982b4c9.tar.gz minetest-18368824958139f1428d534082852d778982b4c9.tar.bz2 minetest-18368824958139f1428d534082852d778982b4c9.zip |
Fix tooltip colors specified by formspec part
Diffstat (limited to 'src')
-rw-r--r-- | src/irrlicht_changes/static_text.h | 2 |
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_ |