aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-02 20:38:40 +0100
committerEugene Sandulenko2017-02-02 20:39:34 +0100
commit3e47d7abf3081daa00779d4d245ffc0963567f84 (patch)
treeff375f42bf434fe360c09b114f0e6336b9b83088 /graphics
parent2841dd2bc3b71d56a4cff7d7995274c9266d7807 (diff)
downloadscummvm-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.cpp1
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;