fix star.c (FS#8998)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17567 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2008-05-18 10:19:21 +00:00
parent faceafc411
commit 476d28963d

View file

@ -992,7 +992,8 @@ static int star_menu(void)
{
rb->viewport_set_defaults(&vp[selection], selection);
/* we are hiding the statusbar so fix the height also */
vp->y = 0; vp->height = rb->screens[selection]->height;
vp[selection].y = 0;
vp[selection].height = rb->screens[selection]->height;
#if LCD_DEPTH > 1
if (rb->screens[selection]->depth > 1)
{