diff options
author | Hardeep Sidhu <dyp@pobox.com> | 2006-06-04 17:14:17 +0000 |
---|---|---|
committer | Hardeep Sidhu <dyp@pobox.com> | 2006-06-04 17:14:17 +0000 |
commit | d2a47628479e41f9fbd807f73330a182a68a9693 (patch) | |
tree | 85fd7f453cde97d457a02de25352d3c24824b210 /apps/gui | |
parent | ab3e71cad9dbc43eb407e7dc6e287efe0a4f4282 (diff) |
Added a yield() after each pgup/pgdn similar to what is done for prev/next. Fixes B#5354.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10054 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/list.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index d0117d7c03..ebc8115be0 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -667,6 +667,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button) case LIST_PGUP | BUTTON_REPEAT: gui_synclist_select_previous_page(lists, SCREEN_MAIN); gui_synclist_draw(lists); + yield(); return LIST_NEXT; #endif @@ -676,6 +677,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button) case LIST_RC_PGUP | BUTTON_REPEAT: gui_synclist_select_previous_page(lists, SCREEN_REMOTE); gui_synclist_draw(lists); + yield(); return LIST_NEXT; #endif @@ -685,6 +687,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button) case LIST_PGDN | BUTTON_REPEAT: gui_synclist_select_next_page(lists, SCREEN_MAIN); gui_synclist_draw(lists); + yield(); return LIST_PREV; #endif @@ -694,6 +697,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button) case LIST_RC_PGDN | BUTTON_REPEAT: gui_synclist_select_next_page(lists, SCREEN_REMOTE); gui_synclist_draw(lists); + yield(); return LIST_PREV; #endif } |