forked from len0rd/rockbox
This should not have been recommitted (went undetected for quite a while).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8533 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
32326ef10d
commit
e6c2e197b3
2 changed files with 6 additions and 10 deletions
|
|
@ -842,11 +842,9 @@ static void scroll_thread(void)
|
|||
}
|
||||
}
|
||||
else {
|
||||
/* pause at beginning of line */
|
||||
if (s->offset >= s->width) {
|
||||
s->offset = 0;
|
||||
s->start_tick = current_tick + scroll_delay * 2;
|
||||
}
|
||||
/* scroll forward the whole time */
|
||||
if (s->offset >= s->width)
|
||||
s->offset %= s->width;
|
||||
}
|
||||
|
||||
lastmode = drawmode;
|
||||
|
|
|
|||
|
|
@ -1343,11 +1343,9 @@ static void scroll_thread(void)
|
|||
}
|
||||
}
|
||||
else {
|
||||
/* pause at beginning of line */
|
||||
if (s->offset >= s->width) {
|
||||
s->offset = 0;
|
||||
s->start_tick = current_tick + scroll_delay * 2;
|
||||
}
|
||||
/* scroll forward the whole time */
|
||||
if (s->offset >= s->width)
|
||||
s->offset %= s->width;
|
||||
}
|
||||
|
||||
lastmode = drawmode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue