From 2a2b8d8a8234633779dca0fff5e7ce23ad4c48ed Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Wed, 25 Apr 2007 13:09:56 +0000 Subject: Make bitmaps use the right format in a RWPS and prevent a backdrop tag in a RWPS from clearing the main display's backdrop. This also allows future backdrop support for LCD remotes by making the parsing code aware of whether the display for a WPS is a remote or not. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13261 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/settings.c') diff --git a/apps/settings.c b/apps/settings.c index 537ca9f5b6..52af7cb481 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -751,6 +751,9 @@ void settings_apply(void) else { wps_data_init(gui_wps[0].data); +#ifdef HAVE_REMOTE_LCD + gui_wps[0].data->remote_wps = false; +#endif } #if LCD_DEPTH > 1 @@ -777,7 +780,10 @@ void settings_apply(void) wps_data_load(gui_wps[1].data, buf, true); } else + { wps_data_init(gui_wps[1].data); + gui_wps[1].data->remote_wps = true; + } #endif #ifdef HAVE_LCD_BITMAP -- cgit v1.2.3