summaryrefslogtreecommitdiffstats
path: root/apps/plugins/dice.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-05-20 08:26:27 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-05-20 08:26:27 +0000
commitb85817a5ba0ffe3bab748d1623799d407bd36731 (patch)
tree95eaeee7337596aced6c552e3210cc3d758bbd2b /apps/plugins/dice.c
parent1062a17992d50cc362a0b7662bae75342fb69037 (diff)
downloadrockbox-b85817a5ba0ffe3bab748d1623799d407bd36731.tar.gz
rockbox-b85817a5ba0ffe3bab748d1623799d407bd36731.tar.bz2
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/dice.c')
-rw-r--r--apps/plugins/dice.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/dice.c b/apps/plugins/dice.c
index 1113654230..0875248bdc 100644
--- a/apps/plugins/dice.c
+++ b/apps/plugins/dice.c
@@ -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;