aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-31 22:16:50 +0100
committerEugene Sandulenko2017-01-31 23:14:37 +0100
commit93265c6d41466dd7513472e160a3579c740410dd (patch)
tree9b900e127ff0d6f9cbaca2fb73271eeafbc4df68
parenta113b1c0e81c6d28f405ba3c2e42800d02ff254e (diff)
downloadscummvm-rg350-93265c6d41466dd7513472e160a3579c740410dd.tar.gz
scummvm-rg350-93265c6d41466dd7513472e160a3579c740410dd.tar.bz2
scummvm-rg350-93265c6d41466dd7513472e160a3579c740410dd.zip
GRAPHICS: Fix font transtion formatting for MacText
-rw-r--r--graphics/macgui/mactext.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 6a3deb2c81..4b7dc073ab 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -136,10 +136,11 @@ void MacText::splitString(Common::String &str) {
for (uint i = 0; i < text.size(); i++) {
_text.push_back(text[i]);
+ (_textLines[curLine])[curChunk].text = text[i];
+
curLine++;
_textLines.resize(curLine + 1);
_textLines[curLine].push_back(_currentFormatting);
- (_textLines[curLine])[0].text = text[i];
curChunk = 0;
}
} else {