diff options
author | Mohamed Tarek <mt@rockbox.org> | 2009-10-09 01:05:40 +0000 |
---|---|---|
committer | Mohamed Tarek <mt@rockbox.org> | 2009-10-09 01:05:40 +0000 |
commit | 7220cbb890d8ad2a8047f960f5a3d7c27c9e06a9 (patch) | |
tree | 539b9207a2703f995b8669a472d44c4c433caa1b /firmware/drivers | |
parent | 228260722489d0c665dd025e61af053b0247d99d (diff) |
Fix a bug in a bidirectional text scrolling; s->offset doesn't need to be set when backward scrolling starts. This fixes bidirectional scrolling in
RTL and for certain file-names in LTR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23022 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/lcd-bitmap-common.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c index 9d5c78b905..38fa55b02d 100644 --- a/firmware/drivers/lcd-bitmap-common.c +++ b/firmware/drivers/lcd-bitmap-common.c @@ -321,7 +321,6 @@ 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; } |