summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/star.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index 1b7c4d0..8efdd89 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -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)
{