summaryrefslogtreecommitdiffstats
path: root/apps/menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-09-17 10:08:50 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-09-17 10:08:50 +0000
commitcf1cef5f573ca6961041c9ab53649ac52f6b1e93 (patch)
treef4be937b805d829c354e0ad723b4cf3b7089f29b /apps/menu.c
parent344f45165f4b1f76b95883895be3634225a10cbb (diff)
downloadrockbox-cf1cef5f573ca6961041c9ab53649ac52f6b1e93.tar.gz
rockbox-cf1cef5f573ca6961041c9ab53649ac52f6b1e93.tar.bz2
rockbox-cf1cef5f573ca6961041c9ab53649ac52f6b1e93.zip
minor update to gui_synclist_do_button() which will hopefully simplify things later.
Now returns true if the action was handled in that function instead of returning the handled action. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14733 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 201bbdff0e..e369f4d390 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -345,7 +345,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
}
}
- if (gui_synclist_do_button(&lists,action,LIST_WRAP_UNLESS_HELD))
+ if (gui_synclist_do_button(&lists, &action, LIST_WRAP_UNLESS_HELD))
{
talk_menu_item(menu, &lists);
continue;