forked from len0rd/rockbox
Fix red, and use gui_wps_display() for restoration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20485 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ced2724f7d
commit
3ab31337d8
2 changed files with 2 additions and 9 deletions
|
|
@ -255,7 +255,7 @@ bool ffwd_rew(int button)
|
|||
#endif
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
FOR_NB_SCREENS(i)
|
||||
gui_wps_redraw(gwps,0, WPS_REFRESH_ALL);
|
||||
gui_wps_redraw(&gui_wps[i],0, WPS_REFRESH_ALL);
|
||||
#endif
|
||||
exit = true;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -682,19 +682,12 @@ long gui_wps_show(void)
|
|||
((restoretimer == RESTORE_WPS_INSTANTLY) ||
|
||||
TIME_AFTER(current_tick, restoretimer)))
|
||||
{
|
||||
/* restore wps backrops and statusbars */
|
||||
#if LCD_DEPTH > 1
|
||||
show_wps_backdrop();
|
||||
#endif
|
||||
#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
|
||||
show_remote_wps_backdrop();
|
||||
#endif
|
||||
restore = false;
|
||||
restoretimer = RESTORE_WPS_INSTANTLY;
|
||||
FOR_NB_SCREENS(i)
|
||||
{
|
||||
screens[i].stop_scroll();
|
||||
if (!gui_wps_redraw(&gui_wps[i], 0, WPS_REFRESH_ALL))
|
||||
if (!gui_wps_display(&gui_wps[i]))
|
||||
exit = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue