diff options
-rw-r--r-- | glcdskin/object.c | 2 |
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); |