mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 21:59:55 +00:00
Fix # in book text being interpreted as MyGUI color code
This commit is contained in:
parent
78bd516ab4
commit
d1feb9ef02
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue