From fae2be668fb235c5f145276f98f264c254410d7e Mon Sep 17 00:00:00 2001 From: strangerke Date: Thu, 10 Mar 2011 01:32:03 +0100 Subject: TOON: Cleanup --- engines/toon/font.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engines/toon/font.cpp') 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; -- cgit v1.2.3