[Scummvm-git-logs] scummvm master -> 3e47d7abf3081daa00779d4d245ffc0963567f84

sev- sev at scummvm.org
Thu Feb 2 20:47:56 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
3e47d7abf3 GRAPHICS: Fix MacText splitter, so less empty font chunks are generated


Commit: 3e47d7abf3081daa00779d4d245ffc0963567f84
    https://github.com/scummvm/scummvm/commit/3e47d7abf3081daa00779d4d245ffc0963567f84
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-02-02T20:39:34+01:00

Commit Message:
GRAPHICS: Fix MacText splitter, so less empty font chunks are generated

Changed paths:
    graphics/macgui/mactext.cpp


diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 895d49e..600f2e9 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;





More information about the Scummvm-git-logs mailing list