Clear the RWPS backdrop when a RWPS is loaded, not when a WPS is loaded.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13275 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2007-04-26 20:32:05 +00:00
parent 832bbf72a8
commit b8a79b8bba

View file

@ -452,9 +452,6 @@ int ft_enter(struct tree_context* c)
gui_syncsplash(0, str(LANG_WAIT));
#if LCD_DEPTH > 1
unload_wps_backdrop();
#endif
#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
unload_remote_wps_backdrop();
#endif
wps_data_load(gui_wps[0].data, buf, true);
set_file(buf, (char *)global_settings.wps_file,
@ -465,6 +462,9 @@ int ft_enter(struct tree_context* c)
/* remote-wps config file */
case FILE_ATTR_RWPS:
gui_syncsplash(0, str(LANG_WAIT));
#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
unload_remote_wps_backdrop();
#endif
wps_data_load(gui_wps[1].data, buf, true);
set_file(buf, (char *)global_settings.rwps_file,
MAX_FILENAME);