summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-11 20:49:27 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-11 20:49:27 +0000
commit74d3671af2c718ae30c66d223f8043bee29406de (patch)
tree9a8d2ccb4ed91699edc7321bec99ef4516cddc80
parentd5b076b64a8a3abd55fca0e9db7b13c6024bdfa3 (diff)
Revert r23021, since it broke non-RTL scrolling. RTL scrolling still needs fixing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23118 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/lcd-bitmap-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c
index 042500cce8..cb465fa4be 100644
--- a/firmware/drivers/lcd-bitmap-common.c
+++ b/firmware/drivers/lcd-bitmap-common.c
@@ -326,6 +326,7 @@ void LCDFN(scroll_fn)(void)
}
if (abs(s->offset) >= s->width - (current_vp->width - xpos)) {
/* at end of line */
+ s->offset = s->width - (current_vp->width - xpos);
s->backward = true;
s->start_tick = current_tick + LCDFN(scroll_info).delay * 2;
}