mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Better fix for FS#12337. Use 0 to make the line height calculated from the font height, as before r30773.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30850 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9fe029b12a
commit
93c6c79e8d
5 changed files with 6 additions and 5 deletions
|
@ -453,7 +453,7 @@ void LCDFN(scroll_fn)(void)
|
|||
continue;
|
||||
|
||||
LCDFN(set_viewport)(s->vp);
|
||||
height = s->vp->line_height;
|
||||
height = s->vp->line_height ?: (int)font_get(s->vp->font)->height;
|
||||
|
||||
if (s->backward)
|
||||
s->offset -= LCDFN(scroll_info).step;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue