[Scummvm-cvs-logs] SF.net SVN: scummvm:[48782] scummvm/trunk/engines/sci/graphics/text16.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sat Apr 24 14:53:14 CEST 2010
Revision: 48782
http://scummvm.svn.sourceforge.net/scummvm/?rev=48782&view=rev
Author: m_kiewitz
Date: 2010-04-24 12:53:14 +0000 (Sat, 24 Apr 2010)
Log Message:
-----------
SCI: document skipping over breaking spaces done in r48781
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/text16.cpp
Modified: scummvm/trunk/engines/sci/graphics/text16.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/text16.cpp 2010-04-24 12:49:22 UTC (rev 48781)
+++ scummvm/trunk/engines/sci/graphics/text16.cpp 2010-04-24 12:53:14 UTC (rev 48782)
@@ -321,7 +321,7 @@
totalHeight += textHeight;
curPos += charCount;
if (*curPos == ' ')
- curPos++;
+ curPos++; // skip over breaking space
}
rect.bottom = totalHeight;
rect.right = maxWidth ? maxWidth : MIN(rect.right, maxTextWidth);
@@ -436,7 +436,7 @@
hline += textHeight;
text += charCount;
if (*text == ' ')
- text++;
+ text++; // skip over breaking space
}
SetFont(orgFontId);
_ports->penColor(orgPenColor);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list