summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-08-16 22:28:25 +0000
committerThomas Martitz <kugel@rockbox.org>2009-08-16 22:28:25 +0000
commitf1c704e4cfa9ffa746b8c4d7d651767a7c40d3e9 (patch)
tree81c09c37eb87c01313733b6bd825a06707ee95d2
parent4c48b59be8ba41b80350d5329d0f13240229da0a (diff)
downloadrockbox-f1c704e4cfa9ffa746b8c4d7d651767a7c40d3e9.tar.gz
rockbox-f1c704e4cfa9ffa746b8c4d7d651767a7c40d3e9.tar.bz2
rockbox-f1c704e4cfa9ffa746b8c4d7d651767a7c40d3e9.zip
Fix ret for buttonbar targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22366 a1c6a512-1295-4272-9138-f99709370657
-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 3627f12221..332459c57f 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -73,7 +73,7 @@ static void list_init_viewports(struct gui_synclist *list)
list->parent[i] = &vp[i];
}
#ifdef HAVE_BUTTONBAR
- if (list && !parent_used[SCREEN_MAIN] && global_settings.buttonbar)
+ if (list && !parent_used && global_settings.buttonbar)
list->parent[0]->height -= BUTTONBAR_HEIGHT;
#endif
}