diff options
Diffstat (limited to 'apps/plugins/chessbox/chessbox.c')
-rw-r--r-- | apps/plugins/chessbox/chessbox.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c index f2ae95b4f2..9f9e1099af 100644 --- a/apps/plugins/chessbox/chessbox.c +++ b/apps/plugins/chessbox/chessbox.c | |||
@@ -528,8 +528,7 @@ static int cb_menu(void) | |||
528 | 528 | ||
529 | while(!menu_quit) | 529 | while(!menu_quit) |
530 | { | 530 | { |
531 | selection = rb->do_menu(&menu, &selection); | 531 | switch(rb->do_menu(&menu, &selection)) |
532 | switch(selection) | ||
533 | { | 532 | { |
534 | case 0: | 533 | case 0: |
535 | menu_quit = true; | 534 | menu_quit = true; |