forked from len0rd/rockbox
Fix charcell build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30828 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
155a9f8abd
commit
7352e72cb9
1 changed files with 2 additions and 0 deletions
|
|
@ -502,7 +502,9 @@ void gui_synclist_set_viewport_defaults(struct viewport *vp,
|
|||
enum screen_type screen)
|
||||
{
|
||||
viewport_set_defaults(vp, screen);
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
vp->line_height = list_line_height(vp);
|
||||
#endif
|
||||
#ifdef HAVE_BUTTONBAR
|
||||
if (screens[screen].has_buttonbar)
|
||||
vp->height -= BUTTONBAR_HEIGHT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue