From 74d3671af2c718ae30c66d223f8043bee29406de Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Sun, 11 Oct 2009 20:49:27 +0000 Subject: [PATCH] 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 --- firmware/drivers/lcd-bitmap-common.c | 1 + 1 file changed, 1 insertion(+) 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; }