diff options
author | Willem Jan Palenstijn | 2015-12-24 15:32:24 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-24 15:32:24 +0100 |
commit | 82c610d16066b042dd790f025e80b7128d872afa (patch) | |
tree | 32459c7ea13ab83efe1e57756f23173c99916056 /engines | |
parent | 6ace70a625b76f0b2471b73d702649fbf0cfe7a0 (diff) | |
download | scummvm-rg350-82c610d16066b042dd790f025e80b7128d872afa.tar.gz scummvm-rg350-82c610d16066b042dd790f025e80b7128d872afa.tar.bz2 scummvm-rg350-82c610d16066b042dd790f025e80b7128d872afa.zip |
LAB: Remove now-unused variable
Diffstat (limited to 'engines')
-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; |