mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-01 04:20:20 +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->setTextAlign(mTextStyle.mTextAlign);
|
||||||
box->setTextColour(mTextStyle.mColour);
|
box->setTextColour(mTextStyle.mColour);
|
||||||
box->setFontName(mTextStyle.mFont);
|
box->setFontName(mTextStyle.mFont);
|
||||||
box->setCaption(realText);
|
box->setCaption(MyGUI::TextIterator::toTagsString(realText));
|
||||||
box->setSize(box->getSize().width, box->getTextSize().height);
|
box->setSize(box->getSize().width, box->getTextSize().height);
|
||||||
mHeight += box->getTextSize().height;
|
mHeight += box->getTextSize().height;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user