From 4a7aeebfab185320694c88d6d3ff5a1537f94660 Mon Sep 17 00:00:00 2001
From: mrwastl <mrwastl@users.sourceforge.net>
Date: Sun, 16 May 2010 09:45:39 +0200
Subject: glcdskin: another small bug fix for scrolling

---
 glcdskin/object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'glcdskin')

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);
-- 
cgit v1.2.3