1
0
Fork 0
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:
Jonathan Gordon 2010-02-26 06:45:50 +00:00
parent cf6be66db6
commit 321148124a

View file

@ -113,6 +113,7 @@ static struct viewport parent[NB_SCREENS] =
bool list_display_title(struct gui_synclist *list, enum screen_type screen)
{
return list->title != NULL &&
!sb_set_title_text(list->title, list->title_icon, screen) &&
viewport_get_nb_lines(list->parent[screen]) > 2;
}