summaryrefslogtreecommitdiff
path: root/apps/plugins/snake.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/snake.c')
-rw-r--r--apps/plugins/snake.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/snake.c b/apps/plugins/snake.c
index fa357a8418..6acbb808aa 100644
--- a/apps/plugins/snake.c
+++ b/apps/plugins/snake.c
@@ -342,8 +342,7 @@ void game_init(void) {
"Quit");
while (!menu_quit) {
- selection = rb->do_menu(&menu, &selection);
- switch(selection)
+ switch(rb->do_menu(&menu, &selection))
{
case 0:
menu_quit = true; /* start playing */