summaryrefslogtreecommitdiffstats
path: root/apps/gui/list.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-11-11 06:48:56 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-11-11 06:48:56 +0000
commitdb4cab0e665143a3eaa56bdd911a25f534db6caf (patch)
tree6acab5a45fc88121e751d91d012bc4b0cdb67f1b /apps/gui/list.c
parent7c440bff3254250711e1768de2769dc68185fefd (diff)
downloadrockbox-db4cab0e665143a3eaa56bdd911a25f534db6caf.tar.gz
rockbox-db4cab0e665143a3eaa56bdd911a25f534db6caf.tar.bz2
rockbox-db4cab0e665143a3eaa56bdd911a25f534db6caf.zip
fix build, ? buttonbar....
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23607 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/list.c')
-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 24ddcd6302..340175c0d0 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -92,7 +92,7 @@ static void list_init_viewports(struct gui_synclist *list)
list->parent[i] = &parent[i];
viewport_set_defaults(&parent[i], i);
#ifdef HAVE_BUTTONBAR
- if (screens[i].has_buttonbar && !viewport_ui_vp_get_state(i))
+ if (screens[i].has_buttonbar)
list->parent[i]->height -= BUTTONBAR_HEIGHT;
#endif
}