[Scummvm-cvs-logs] scummvm master -> 82c610d16066b042dd790f025e80b7128d872afa
wjp
wjp at usecode.org
Thu Dec 24 15:33:08 CET 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
82c610d160 LAB: Remove now-unused variable
Commit: 82c610d16066b042dd790f025e80b7128d872afa
https://github.com/scummvm/scummvm/commit/82c610d16066b042dd790f025e80b7128d872afa
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2015-12-24T15:32:24+01:00
Commit Message:
LAB: Remove now-unused variable
Changed paths:
engines/lab/dispman.cpp
diff --git a/engines/lab/dispman.cpp b/engines/lab/dispman.cpp
index d8504eb..8808675 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;
More information about the Scummvm-git-logs
mailing list