aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/textdrawer.cpp
diff options
context:
space:
mode:
authorEric Fry2018-06-26 22:35:31 +1000
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commit989d8d9b8abecee3f0b72c92a05067e128fc6cdd (patch)
tree6879c75dccd45e4ae6f2396ee62425f625494f37 /engines/illusions/textdrawer.cpp
parent7cadb7ad0ce7b24c28d3fa9d842f7083ae5b9056 (diff)
downloadscummvm-rg350-989d8d9b8abecee3f0b72c92a05067e128fc6cdd.tar.gz
scummvm-rg350-989d8d9b8abecee3f0b72c92a05067e128fc6cdd.tar.bz2
scummvm-rg350-989d8d9b8abecee3f0b72c92a05067e128fc6cdd.zip
ILLUSIONS: Formatting, remove trailing whitespace.
Diffstat (limited to 'engines/illusions/textdrawer.cpp')
-rw-r--r--engines/illusions/textdrawer.cpp6
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;