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
This commit is contained in:
parent
2282607224
commit
7220cbb890
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue