summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-04-11 10:34:44 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-04-11 10:34:44 +0000
commit08e633c25c3f70d8d8b900cf09576986a398a474 (patch)
treeed1083ad73a54f32fa2b61ffa97b6c821e4b5687 /apps
parentfc47f142426b32ad385b904ae53ca736d1f599c9 (diff)
downloadrockbox-08e633c25c3f70d8d8b900cf09576986a398a474.tar.gz
rockbox-08e633c25c3f70d8d8b900cf09576986a398a474.zip
Hide the list title if only one line would fit under it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13107 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 52cbee2128..bd63021369 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -54,7 +54,7 @@ static bool offset_out_of_view = false;
static struct gui_list* last_list_displayed[NB_SCREENS];
#define SHOW_LIST_TITLE ((gui_list->title != NULL) && \
- (gui_list->display->nb_lines > 1))
+ (gui_list->display->nb_lines > 2))
static void gui_list_put_selection_in_screen(struct gui_list * gui_list,
bool put_from_end);