mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 13:20:35 +00:00
Fix # in book text being interpreted as MyGUI color code
This commit is contained in:
parent
78bd516ab4
commit
d1feb9ef02
@ -406,7 +406,7 @@ namespace MWGui
|
||||
box->setTextAlign(mTextStyle.mTextAlign);
|
||||
box->setTextColour(mTextStyle.mColour);
|
||||
box->setFontName(mTextStyle.mFont);
|
||||
box->setCaption(realText);
|
||||
box->setCaption(MyGUI::TextIterator::toTagsString(realText));
|
||||
box->setSize(box->getSize().width, box->getTextSize().height);
|
||||
mHeight += box->getTextSize().height;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user