summaryrefslogtreecommitdiff
path: root/scroller.c
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-12-08 18:48:39 +0000
committerlordjaxom <lordjaxom>2004-12-08 18:48:39 +0000
commit5382d18d05d358bb1c313c642395e835aa44a6a0 (patch)
tree2b5ef58620b3640c5b21e8eafe92ee4b266b1d30 /scroller.c
parenteb2f2c9600e8f69788232582191b141002bcd522 (diff)
downloadvdr-plugin-text2skin-1.0-pre1.tar.gz
vdr-plugin-text2skin-1.0-pre1.tar.bz2
1.0-pre1v1.0-pre1
Diffstat (limited to 'scroller.c')
-rw-r--r--scroller.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/scroller.c b/scroller.c
index 465dcde..9a057cc 100644
--- a/scroller.c
+++ b/scroller.c
@@ -1,5 +1,5 @@
/*
- * $Id: scroller.c,v 1.1 2004/07/05 17:55:34 lordjaxom Exp $
+ * $Id: scroller.c,v 1.3 2004/12/08 17:13:26 lordjaxom Exp $
*/
#include "scroller.h"
@@ -56,14 +56,12 @@ void cText2SkinScroller::Scroll(bool Up, bool Page)
mOffset -= Page ? mShown : 1;
if (mOffset < 0)
mOffset = 0;
- DrawText();
}
} else {
if (CanScrollDown()) {
mOffset += Page ? mShown : 1;
if (mOffset + mShown > Total())
mOffset = Total() - mShown;
- DrawText();
}
}
}