diff options
author | Martin Kiewitz | 2010-07-30 16:23:09 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-30 16:23:09 +0000 |
commit | 6aa228ccd8343b865f1ace5f0d404ee4714df5ed (patch) | |
tree | 23e2d369ae44ecb3057b7b9160160f45b99a424a /engines/sci/graphics | |
parent | 6dd5dfb7d0aa7e1d64f2e49ed3017dcceef6dbb1 (diff) | |
download | scummvm-rg350-6aa228ccd8343b865f1ace5f0d404ee4714df5ed.tar.gz scummvm-rg350-6aa228ccd8343b865f1ace5f0d404ee4714df5ed.tar.bz2 scummvm-rg350-6aa228ccd8343b865f1ace5f0d404ee4714df5ed.zip |
SCI: fixing another text color code issue
(sq5 some dialog boxes again using wrong font in rare cases)
svn-id: r51512
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/text16.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/text16.cpp b/engines/sci/graphics/text16.cpp index 61737cad05..b0c302297b 100644 --- a/engines/sci/graphics/text16.cpp +++ b/engines/sci/graphics/text16.cpp @@ -406,7 +406,7 @@ void GfxText16::Box(const char *text, int16 bshow, const Common::Rect &rect, Tex 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: |