From 7555f34cb3029cc2bb95f2fa0aa15b74ac4ce99f Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 2 Jan 2009 07:15:46 +0000 Subject: fix FS#9743: plugins using rb->do_menu() were dropped 8 pixels.. please oh please let this be the last fix :p git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19640 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/list.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/gui/list.c b/apps/gui/list.c index 9843339dd4..662496d40d 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -72,14 +72,8 @@ void list_init_viewports(struct gui_synclist *list) FOR_NB_SCREENS(i) { vp = &parent[i]; - if (!list) + if (!list || list->parent[i] == vp) viewport_set_defaults(vp, i); - else if (list->parent[i] == vp) - { - viewport_set_defaults(vp, i); - list->parent[i]->y = gui_statusbar_height(); - list->parent[i]->height = screens[i].lcdheight - list->parent[i]->y; - } } #ifdef HAVE_BUTTONBAR if (list && (list->parent[0] == &parent[0]) && global_settings.buttonbar) -- cgit v1.2.3