fix build, ? buttonbar....

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23607 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2009-11-11 06:48:56 +00:00
parent 7c440bff32
commit db4cab0e66

View file

@ -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
}