diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-09-17 10:08:50 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-09-17 10:08:50 +0000 |
commit | cf1cef5f573ca6961041c9ab53649ac52f6b1e93 (patch) | |
tree | f4be937b805d829c354e0ad723b4cf3b7089f29b /apps/filetypes.c | |
parent | 344f45165f4b1f76b95883895be3634225a10cbb (diff) | |
download | rockbox-cf1cef5f573ca6961041c9ab53649ac52f6b1e93.tar.gz 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/filetypes.c')
-rw-r--r-- | apps/filetypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c index 21ce17ce40..5e72fca5a1 100644 --- a/apps/filetypes.c +++ b/apps/filetypes.c | |||
@@ -476,7 +476,7 @@ int filetype_list_viewers(const char* current_file) | |||
476 | gui_syncstatusbar_draw(&statusbars, true); | 476 | gui_syncstatusbar_draw(&statusbars, true); |
477 | action = get_action(CONTEXT_MAINMENU,HZ); | 477 | action = get_action(CONTEXT_MAINMENU,HZ); |
478 | if ((action == ACTION_NONE) || | 478 | if ((action == ACTION_NONE) || |
479 | gui_synclist_do_button(&lists, action, LIST_WRAP_UNLESS_HELD)) | 479 | gui_synclist_do_button(&lists, &action, LIST_WRAP_UNLESS_HELD)) |
480 | continue; | 480 | continue; |
481 | else if (action == ACTION_STD_OK) | 481 | else if (action == ACTION_STD_OK) |
482 | { | 482 | { |