aboutsummaryrefslogtreecommitdiff
path: root/engines/lab
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2015-12-24 15:32:24 +0100
committerWillem Jan Palenstijn2015-12-24 15:32:24 +0100
commit82c610d16066b042dd790f025e80b7128d872afa (patch)
tree32459c7ea13ab83efe1e57756f23173c99916056 /engines/lab
parent6ace70a625b76f0b2471b73d702649fbf0cfe7a0 (diff)
downloadscummvm-rg350-82c610d16066b042dd790f025e80b7128d872afa.tar.gz
scummvm-rg350-82c610d16066b042dd790f025e80b7128d872afa.tar.bz2
scummvm-rg350-82c610d16066b042dd790f025e80b7128d872afa.zip
LAB: Remove now-unused variable
Diffstat (limited to 'engines/lab')
-rw-r--r--engines/lab/dispman.cpp2
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;