From cf1cef5f573ca6961041c9ab53649ac52f6b1e93 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 17 Sep 2007 10:08:50 +0000 Subject: 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 --- apps/plugins/lib/oldmenuapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/lib/oldmenuapi.c') diff --git a/apps/plugins/lib/oldmenuapi.c b/apps/plugins/lib/oldmenuapi.c index 742d394..07681a0 100644 --- a/apps/plugins/lib/oldmenuapi.c +++ b/apps/plugins/lib/oldmenuapi.c @@ -107,7 +107,7 @@ int menu_show(int m) */ if( menus[m].callback != NULL ) key = menus[m].callback(key, m); - rb->gui_synclist_do_button(&(menus[m].synclist), key,LIST_WRAP_UNLESS_HELD); + rb->gui_synclist_do_button(&(menus[m].synclist), &key,LIST_WRAP_UNLESS_HELD); switch( key ) { case ACTION_STD_OK: return rb->gui_synclist_get_sel_pos(&(menus[m].synclist)); -- cgit v1.1