From 93b899d0fe3426ed50de06d20cdefb6d288e5ec2 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Sun, 21 May 2006 11:00:02 +0000 Subject: 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 --- apps/filetree.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/filetree.c') 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 @@ static int boot_size = 0; static int boot_cluster; #endif + +#ifdef HAVE_LCD_COLOR +#include "backdrop.h" +#endif + extern bool boot_changed; int ft_build_playlist(struct tree_context* c, int start_index) @@ -461,6 +466,9 @@ int ft_enter(struct tree_context* c) /* wps config file */ case TREE_ATTR_WPS: gui_syncsplash(0, true, str(LANG_WAIT)); +#ifdef HAVE_LCD_COLOR + unload_wps_backdrop(); +#endif wps_data_load(gui_wps[0].data, buf, true); set_file(buf, (char *)global_settings.wps_file, MAX_FILENAME); -- cgit v1.2.3