summaryrefslogtreecommitdiff
path: root/apps/filetree.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2006-05-21 11:00:02 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2006-05-21 11:00:02 +0000
commit93b899d0fe3426ed50de06d20cdefb6d288e5ec2 (patch)
tree0dd0af26a5797a02f9a1f0139fde9fb60e1844bb /apps/filetree.c
parent6ddb5f24294d68749e53c10a99ca09aca9f9f7eb (diff)
downloadrockbox-93b899d0fe3426ed50de06d20cdefb6d288e5ec2.tar.gz
rockbox-93b899d0fe3426ed50de06d20cdefb6d288e5ec2.zip
Reworked backdrop handling. Fixes a bug that wasn't in the tracker yet ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9970 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetree.c')
-rw-r--r--apps/filetree.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/filetree.c b/apps/filetree.c
index 72a58c7fe1..acceb0b93b 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -53,6 +53,11 @@
53static int boot_size = 0; 53static int boot_size = 0;
54static int boot_cluster; 54static int boot_cluster;
55#endif 55#endif
56
57#ifdef HAVE_LCD_COLOR
58#include "backdrop.h"
59#endif
60
56extern bool boot_changed; 61extern bool boot_changed;
57 62
58int ft_build_playlist(struct tree_context* c, int start_index) 63int ft_build_playlist(struct tree_context* c, int start_index)
@@ -461,6 +466,9 @@ int ft_enter(struct tree_context* c)
461 /* wps config file */ 466 /* wps config file */
462 case TREE_ATTR_WPS: 467 case TREE_ATTR_WPS:
463 gui_syncsplash(0, true, str(LANG_WAIT)); 468 gui_syncsplash(0, true, str(LANG_WAIT));
469#ifdef HAVE_LCD_COLOR
470 unload_wps_backdrop();
471#endif
464 wps_data_load(gui_wps[0].data, buf, true); 472 wps_data_load(gui_wps[0].data, buf, true);
465 set_file(buf, (char *)global_settings.wps_file, 473 set_file(buf, (char *)global_settings.wps_file,
466 MAX_FILENAME); 474 MAX_FILENAME);