From daa8341a13ddc93981d2c2178b183a13b5e08950 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 4 May 2008 10:58:05 +0000 Subject: a bit of code cleanup.. use a single function to get the statusbar height (or lack of if its enabled), and remove some gui_textarea stuff which could be done using the splash. (gui_textarea is on the way out) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17350 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/gui/list.c') diff --git a/apps/gui/list.c b/apps/gui/list.c index 6b4229545d..1e2b682e6e 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -76,7 +76,7 @@ void list_init_viewports(struct gui_synclist *list) else if (list->parent[i] == vp) { viewport_set_defaults(vp, i); - list->parent[i]->y = global_settings.statusbar?STATUSBAR_HEIGHT:0; + list->parent[i]->y = gui_statusbar_height(); list->parent[i]->height = screens[i].height - list->parent[i]->y; } } -- cgit v1.2.3