summaryrefslogtreecommitdiff
path: root/apps/plugins/star.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/star.c')
-rw-r--r--apps/plugins/star.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index 56cbe8c75d..2e27fd280b 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -876,8 +876,7 @@ static int star_menu(void)
while(!menu_quit)
{
- selection = rb->do_menu(&menu, &selection);
- switch(selection)
+ switch(rb->do_menu(&menu, &selection))
{
case 0:
menu_quit = true;