diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-02-26 06:45:50 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-02-26 06:45:50 +0000 |
commit | 321148124a8c23c61c0784dac858e78e1c9e0ff2 (patch) | |
tree | e32cb0c07171b45db76f32dcd7d46e2259aace7f /apps/gui | |
parent | cf6be66db61f679185ae38f0f9267717f26120c7 (diff) |
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
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/list.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index ccb51959ff..25a793810e 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -112,7 +112,8 @@ static struct viewport parent[NB_SCREENS] = #ifdef HAVE_LCD_BITMAP 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; } |