mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
menu.c fix redraw bug
fix redraw bug added with c39f95465
Change-Id: I9ce232d4b760f20edb6f8274e090d2fd67c8bd78
This commit is contained in:
parent
c84f9252d7
commit
2b1de3d336
1 changed files with 5 additions and 5 deletions
|
@ -730,13 +730,13 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
|
|||
if (redraw_lists && !done)
|
||||
{
|
||||
if (menu_callback)
|
||||
if (menu_callback(ACTION_REDRAW, menu, &lists) == ACTION_REDRAW)
|
||||
{
|
||||
if (menu_callback(ACTION_REDRAW, menu, &lists) != ACTION_REDRAW)
|
||||
continue;
|
||||
|
||||
gui_synclist_draw(&lists);
|
||||
gui_synclist_speak_item(&lists);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (start_selected)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue