From 321148124a8c23c61c0784dac858e78e1c9e0ff2 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 26 Feb 2010 06:45:50 +0000 Subject: [PATCH] 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 --- apps/gui/list.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }