From 18368824958139f1428d534082852d778982b4c9 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 4 Aug 2018 18:40:34 +0100 Subject: Fix tooltip colors specified by formspec part --- src/irrlicht_changes/static_text.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irrlicht_changes') 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_ -- cgit v1.2.3