forked from len0rd/rockbox
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
This commit is contained in:
parent
344f45165f
commit
cf1cef5f57
21 changed files with 61 additions and 59 deletions
|
|
@ -476,7 +476,7 @@ int filetype_list_viewers(const char* current_file)
|
|||
gui_syncstatusbar_draw(&statusbars, true);
|
||||
action = get_action(CONTEXT_MAINMENU,HZ);
|
||||
if ((action == ACTION_NONE) ||
|
||||
gui_synclist_do_button(&lists, action, LIST_WRAP_UNLESS_HELD))
|
||||
gui_synclist_do_button(&lists, &action, LIST_WRAP_UNLESS_HELD))
|
||||
continue;
|
||||
else if (action == ACTION_STD_OK)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue