1
0
Fork 0
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:
Jens Arnold 2006-02-02 19:53:50 +00:00
parent 32326ef10d
commit e6c2e197b3
2 changed files with 6 additions and 10 deletions

View file

@ -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;