summaryrefslogtreecommitdiff
path: root/apps/plugins/minesweeper.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r--apps/plugins/minesweeper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c
index 9dc983e4c1..31d699501d 100644
--- a/apps/plugins/minesweeper.c
+++ b/apps/plugins/minesweeper.c
@@ -410,8 +410,7 @@ enum minesweeper_status menu( void )
410#endif 410#endif
411 411
412 while (!menu_quit) { 412 while (!menu_quit) {
413 selection=rb->do_menu(&menu,&selection); 413 switch(rb->do_menu(&menu, &selection))
414 switch(selection)
415 { 414 {
416 case 0: 415 case 0:
417 result = MINESWEEPER_WIN; /* start playing */ 416 result = MINESWEEPER_WIN; /* start playing */