From 93265c6d41466dd7513472e160a3579c740410dd Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 31 Jan 2017 22:16:50 +0100 Subject: GRAPHICS: Fix font transtion formatting for MacText --- graphics/macgui/mactext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3