diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-14 12:05:22 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-14 12:05:22 +0000 |
commit | 249960195523e5b7f2ae9ca84b55d3a33dea35ff (patch) | |
tree | 922988278f5d5e38d91579d2f5875f9f17dda12a /apps/gui/gwps-common.c | |
parent | a137e7ff860e17a71c66356674f79b67e5e22388 (diff) | |
download | rockbox-249960195523e5b7f2ae9ca84b55d3a33dea35ff.tar.gz rockbox-249960195523e5b7f2ae9ca84b55d3a33dea35ff.zip |
Correct a problem with WPS backdrops not loading correctly, and semi-prepare for remote WPS backdrops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9035 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r-- | apps/gui/gwps-common.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 76ed7d8e35..a959ba43b0 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c | |||
@@ -61,10 +61,6 @@ static void draw_player_fullbar(struct gui_wps *gwps, | |||
61 | /* 3% of 30min file == 54s step size */ | 61 | /* 3% of 30min file == 54s step size */ |
62 | #define MIN_FF_REWIND_STEP 500 | 62 | #define MIN_FF_REWIND_STEP 500 |
63 | 63 | ||
64 | #ifdef HAVE_LCD_COLOR | ||
65 | extern bool wps_has_backdrop; | ||
66 | #endif | ||
67 | |||
68 | /* Skip leading UTF-8 BOM, if present. */ | 64 | /* Skip leading UTF-8 BOM, if present. */ |
69 | static char* skip_utf8_bom(char* buf) | 65 | static char* skip_utf8_bom(char* buf) |
70 | { | 66 | { |
@@ -179,7 +175,7 @@ bool wps_data_preload_tags(struct wps_data *data, char *buf, | |||
179 | 175 | ||
180 | if ((ret > 0) && (bm.width == LCD_WIDTH) | 176 | if ((ret > 0) && (bm.width == LCD_WIDTH) |
181 | && (bm.height == LCD_HEIGHT)) { | 177 | && (bm.height == LCD_HEIGHT)) { |
182 | wps_has_backdrop=true; | 178 | data->has_backdrop=true; |
183 | return true; | 179 | return true; |
184 | } else { | 180 | } else { |
185 | return false; | 181 | return false; |