forked from len0rd/rockbox
Fix the list showing an empty line at the bottom if the sbs is handling the title
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24919 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cf6be66db6
commit
321148124a
1 changed files with 2 additions and 1 deletions
|
|
@ -112,7 +112,8 @@ static struct viewport parent[NB_SCREENS] =
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
bool list_display_title(struct gui_synclist *list, enum screen_type screen)
|
bool list_display_title(struct gui_synclist *list, enum screen_type screen)
|
||||||
{
|
{
|
||||||
return list->title != NULL &&
|
return list->title != NULL &&
|
||||||
|
!sb_set_title_text(list->title, list->title_icon, screen) &&
|
||||||
viewport_get_nb_lines(list->parent[screen]) > 2;
|
viewport_get_nb_lines(list->parent[screen]) > 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue