summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2010-05-16 09:45:39 +0200
committermrwastl <mrwastl@users.sourceforge.net>2010-05-16 09:45:39 +0200
commit4a7aeebfab185320694c88d6d3ff5a1537f94660 (patch)
tree8d6c9b5b2d69f93e972d244405c8385f28790c1f
parent592389da2c5dce76e1f89df80cbee340ed277475 (diff)
downloadgraphlcd-base-4a7aeebfab185320694c88d6d3ff5a1537f94660.tar.gz
graphlcd-base-4a7aeebfab185320694c88d6d3ff5a1537f94660.tar.bz2
glcdskin: another small bug fix for scrolling
-rw-r--r--glcdskin/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glcdskin/object.c b/glcdskin/object.c
index 471233d..faa4758 100644
--- a/glcdskin/object.c
+++ b/glcdskin/object.c
@@ -545,7 +545,7 @@ void cSkinObject::Render(GLCD::cBitmap * screen)
}
- if (updateScroll) {
+ if (mScrollOffset) {
w += font->Width(" ");
std::string textdoubled = text + " " + text;
screen->DrawText(x, Pos().y, x + Size().w - 1, textdoubled, font, mColor, true, mScrollOffset);