forked from len0rd/rockbox
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
This commit is contained in:
parent
1062a17992
commit
b85817a5ba
11 changed files with 34 additions and 26 deletions
|
@ -235,8 +235,7 @@ static bool dice_menu(int *num_dice, int *side_index) {
|
|||
};
|
||||
|
||||
while (!menu_quit) {
|
||||
selection = rb->do_menu(&menu, &selection);
|
||||
switch(selection)
|
||||
switch(rb->do_menu(&menu, &selection))
|
||||
{
|
||||
case 0:
|
||||
menu_quit = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue