diff options
-rw-r--r-- | engines/lab/dispman.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/lab/dispman.cpp b/engines/lab/dispman.cpp index d8504eb613..880867548a 100644 --- a/engines/lab/dispman.cpp +++ b/engines/lab/dispman.cpp @@ -185,13 +185,11 @@ int DisplayMan::flowText(TextFont *font, int16 spacing, byte penColor, byte back y += ((textRect.height() + 1) - (actlines * fontHeight)) / 2; } - int len = 0; while (numLines && str[0]) { Common::String lineBuffer; lineBuffer = getLine(msgFont, &str, width); uint16 x = textRect.left; - len += lineBuffer.size(); if (centerh) x += (width - textLength(msgFont, lineBuffer)) / 2; |