Skip to content
Permalink
Browse files

SCI: revert r55034, fixes bug #6539

original bug wasn't solved properly
will reopen the original bug #5334
and figure out that one instead
  • Loading branch information
Martin Kiewitz
Martin Kiewitz committed Oct 31, 2014
1 parent 5b42fa8 commit 9561d5f6f8d5fab355ee56f70879443177b58ee1
Showing with 0 additions and 4 deletions.
  1. +0 −4 engines/sci/graphics/text16.cpp
@@ -337,8 +337,6 @@ int16 GfxText16::Size(Common::Rect &rect, const char *text, GuiResourceId fontId
maxTextWidth = MAX(textWidth, maxTextWidth);
totalHeight += textHeight;
curPos += charCount;
while (*curPos == ' ')
curPos++; // skip over breaking spaces
}
rect.bottom = totalHeight;
rect.right = maxWidth ? maxWidth : MIN(rect.right, maxTextWidth);
@@ -458,8 +456,6 @@ void GfxText16::Box(const char *text, bool show, const Common::Rect &rect, TextA

hline += textHeight;
text += charCount;
while (*text == ' ')
text++; // skip over breaking spaces
}
SetFont(previousFontId);
_ports->penColor(previousPenColor);

0 comments on commit 9561d5f

Please sign in to comment.
You can’t perform that action at this time.