aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/toon/font.cpp')
-rw-r--r--engines/toon/font.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/toon/font.cpp b/engines/toon/font.cpp
index 8ce4d32c37..4a60f02f29 100644
--- a/engines/toon/font.cpp
+++ b/engines/toon/font.cpp
@@ -81,7 +81,7 @@ void FontRenderer::renderText(int32 x, int32 y, Common::String origText, int32 m
x -= xx / 2;
}
- _vm->addDirtyRect(x,y,x+xx,y+yy);
+ _vm->addDirtyRect(x, y, x + xx, y + yy);
int32 curX = x;
int32 curY = y;
@@ -272,8 +272,6 @@ void FontRenderer::renderMultiLineText(int32 x, int32 y, Common::String origText
int32 curX = x;
int32 curY = y;
-
-
for (int32 i = 0; i < numLines; i++) {
const byte *line = lines[i];
curX = x - lineSize[i] / 2;