[Scummvm-cvs-logs] SF.net SVN: scummvm:[51512] scummvm/trunk/engines/sci/graphics/text16.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Fri Jul 30 18:23:10 CEST 2010
Revision: 51512
http://scummvm.svn.sourceforge.net/scummvm/?rev=51512&view=rev
Author: m_kiewitz
Date: 2010-07-30 16:23:09 +0000 (Fri, 30 Jul 2010)
Log Message:
-----------
SCI: fixing another text color code issue
(sq5 some dialog boxes again using wrong font in rare cases)
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-07-30 16:08:27 UTC (rev 51511)
+++ scummvm/trunk/engines/sci/graphics/text16.cpp 2010-07-30 16:23:09 UTC (rev 51512)
@@ -406,7 +406,7 @@
charCount = GetLongest(text, rect.width(), orgFontId);
if (charCount == 0)
break;
- Width(text, 0, charCount, orgFontId, textWidth, textHeight);
+ Width(text, 0, charCount, fontId, textWidth, textHeight);
maxTextWidth = MAX<int16>(maxTextWidth, textWidth);
switch (alignment) {
case SCI_TEXT16_ALIGNMENT_RIGHT:
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