diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2010-06-08 13:31:39 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2010-06-08 13:31:39 +0000 |
commit | e6c9691f0b2a9c4ca412cc54b7bd4c425d57b491 (patch) | |
tree | 13982218a7da96383f01e811639dfc33509d2819 /apps | |
parent | 8a52d171fedf1a568f65a17f0634e2b8a2703b8d (diff) | |
download | rockbox-e6c9691f0b2a9c4ca412cc54b7bd4c425d57b491.tar.gz rockbox-e6c9691f0b2a9c4ca412cc54b7bd4c425d57b491.zip |
don't disable backdrop when the file name starts with 'd', e.g. %X(dock.bmp).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26689 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index e40f881c83..f423340b2a 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -1090,7 +1090,7 @@ static int parse_image_special(const char *wps_bufptr, | |||
1090 | if (token->type == WPS_TOKEN_IMAGE_BACKDROP) | 1090 | if (token->type == WPS_TOKEN_IMAGE_BACKDROP) |
1091 | { | 1091 | { |
1092 | /* format: %X|filename.bmp| or %Xd */ | 1092 | /* format: %X|filename.bmp| or %Xd */ |
1093 | if (*(wps_bufptr+1) == 'd') | 1093 | if (!strncmp(wps_bufptr, "(d)", 3)) |
1094 | { | 1094 | { |
1095 | wps_data->backdrop = NULL; | 1095 | wps_data->backdrop = NULL; |
1096 | return skip_end_of_line(wps_bufptr); | 1096 | return skip_end_of_line(wps_bufptr); |