summaryrefslogtreecommitdiff
path: root/apps/plugins/wormlet.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/wormlet.c
parent1062a17992d50cc362a0b7662bae75342fb69037 (diff)
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/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index c4607cd618..94cf1bdee3 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -2533,9 +2533,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
rb->button_clear_queue();
while (!menu_quit) {
- result = rb->do_menu(&menu, &result);
-
- switch(result)
+ switch(rb->do_menu(&menu, &result))
{
case 0:
rb->lcd_setfont(FONT_SYSFIXED);