forked from Mirrorlandia_minetest/minetest
parent
ee63b94f2c
commit
8d68b2cd21
@ -274,7 +274,10 @@ 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, static_text->getOverrideColor()));
|
||||
auto color = static_text->isOverrideColorEnabled()
|
||||
? static_text->getOverrideColor()
|
||||
: irr::video::SColor(255, 255, 255, 255);
|
||||
setStaticText(static_text, EnrichedString(text, color));
|
||||
}
|
||||
|
||||
#endif // _IRR_COMPILE_WITH_GUI_
|
||||
|
Loading…
Reference in New Issue
Block a user