diff options
author | Eugene Sandulenko | 2017-02-02 20:38:40 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-02-02 20:39:34 +0100 |
commit | 3e47d7abf3081daa00779d4d245ffc0963567f84 (patch) | |
tree | ff375f42bf434fe360c09b114f0e6336b9b83088 /graphics | |
parent | 2841dd2bc3b71d56a4cff7d7995274c9266d7807 (diff) | |
download | scummvm-rg350-3e47d7abf3081daa00779d4d245ffc0963567f84.tar.gz scummvm-rg350-3e47d7abf3081daa00779d4d245ffc0963567f84.tar.bz2 scummvm-rg350-3e47d7abf3081daa00779d4d245ffc0963567f84.zip |
GRAPHICS: Fix MacText splitter, so less empty font chunks are generated
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/macgui/mactext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index 895d49e450..600f2e9ead 100644 --- a/graphics/macgui/mactext.cpp +++ b/graphics/macgui/mactext.cpp @@ -113,6 +113,7 @@ void MacText::splitString(Common::String &str) { _textLines[curLine].chunks[curChunk] = _currentFormatting; } else { _textLines[curLine].chunks.push_back(_currentFormatting); + curChunk++; } nextChunk = true; |