summaryrefslogtreecommitdiff
path: root/apps/menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-05-07 07:51:35 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-05-07 07:51:35 +0000
commit1228820ca981be198b58442a92a079347ded3b4e (patch)
tree33a561df08738ff7c64a8608253de243d1b8bb09 /apps/menu.c
parent0e8a9e4eb7fd224ffc52cc1f852b743c13c87fd5 (diff)
downloadrockbox-1228820ca981be198b58442a92a079347ded3b4e.tar.gz
rockbox-1228820ca981be198b58442a92a079347ded3b4e.zip
Fix the menus so lines scroll again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13337 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/menu.c b/apps/menu.c
index a71b21a6ec..80b4884d03 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -433,19 +433,18 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
433 433
434 /* load the callback, and only reload it if menu changes */ 434 /* load the callback, and only reload it if menu changes */
435 get_menu_callback(menu, &menu_callback); 435 get_menu_callback(menu, &menu_callback);
436 gui_synclist_draw(&lists);
436 437
437 while (!done) 438 while (!done)
438 { 439 {
439 gui_syncstatusbar_draw(&statusbars, true); 440 gui_syncstatusbar_draw(&statusbars, true);
440 gui_synclist_draw(&lists);
441 action = get_action(CONTEXT_MAINMENU,HZ); 441 action = get_action(CONTEXT_MAINMENU,HZ);
442 /* HZ so the status bar redraws corectly */ 442 /* HZ so the status bar redraws corectly */
443 if (action == ACTION_NONE) 443 if (action == ACTION_NONE)
444 { 444 {
445 gui_syncstatusbar_draw(&statusbars, true);
446 continue; 445 continue;
447 } 446 }
448 447 gui_synclist_draw(&lists);
449 448
450 if (menu_callback) 449 if (menu_callback)
451 { 450 {