diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-05-20 08:26:27 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-05-20 08:26:27 +0000 |
commit | b85817a5ba0ffe3bab748d1623799d407bd36731 (patch) | |
tree | 95eaeee7337596aced6c552e3210cc3d758bbd2b /apps/plugins/minesweeper.c | |
parent | 1062a17992d50cc362a0b7662bae75342fb69037 (diff) | |
download | rockbox-b85817a5ba0ffe3bab748d1623799d407bd36731.tar.gz rockbox-b85817a5ba0ffe3bab748d1623799d407bd36731.zip |
Update some comments in menu.h to be hopefully more helpful.
Fix all the wrong usage of rb->do_menu() (my fault, sorry)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13439 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r-- | apps/plugins/minesweeper.c | 3 |
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 */ |