diff options
Diffstat (limited to 'engines/illusions/textdrawer.cpp')
-rw-r--r-- | engines/illusions/textdrawer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/illusions/textdrawer.cpp b/engines/illusions/textdrawer.cpp index a5679b0440..31839e04fb 100644 --- a/engines/illusions/textdrawer.cpp +++ b/engines/illusions/textdrawer.cpp @@ -127,7 +127,7 @@ bool TextDrawer::wrapTextIntern(int16 x, int16 y, int16 maxWidth, int16 maxHeigh currWordWidth = 0; } } - + while (lineBreak) { currLineWidth -= _font->_widthC; @@ -143,7 +143,7 @@ bool TextDrawer::wrapTextIntern(int16 x, int16 y, int16 maxWidth, int16 maxHeigh } else { textPosX = x; } - + _textLines.push_back(TextLine(lineStartText, currLineLen, textPosX, textPosY)); if (*currText == 13) { @@ -187,7 +187,7 @@ bool TextDrawer::wrapTextIntern(int16 x, int16 y, int16 maxWidth, int16 maxHeigh } } - + _dimensions->_width = maxLineWidth; _dimensions->_height = textPosY - _font->_lineIncr; |