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/plugins/shortcuts | |
| parent | 344f45165f4b1f76b95883895be3634225a10cbb (diff) | |
| download | rockbox-cf1cef5f573ca6961041c9ab53649ac52f6b1e93.zip rockbox-cf1cef5f573ca6961041c9ab53649ac52f6b1e93.tar.gz rockbox-cf1cef5f573ca6961041c9ab53649ac52f6b1e93.tar.bz2 rockbox-cf1cef5f573ca6961041c9ab53649ac52f6b1e93.tar.xz | |
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/plugins/shortcuts')
| -rw-r--r-- | apps/plugins/shortcuts/shortcuts_view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/shortcuts/shortcuts_view.c b/apps/plugins/shortcuts/shortcuts_view.c index 3b28b4b..f61177f 100644 --- a/apps/plugins/shortcuts/shortcuts_view.c +++ b/apps/plugins/shortcuts/shortcuts_view.c @@ -59,7 +59,7 @@ enum sc_list_action_type draw_sc_list(struct gui_synclist gui_sc) rb->gui_syncstatusbar_draw(rb->statusbars, true); /* user input */ button = rb->get_action(CONTEXT_LIST, TIMEOUT_BLOCK); - if (rb->gui_synclist_do_button(&gui_sc, button, + if (rb->gui_synclist_do_button(&gui_sc, &button, LIST_WRAP_UNLESS_HELD)) { /* automatic handling of user input. * _UNLESS_HELD can be _ON or _OFF also |