diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-10-05 10:26:06 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-10-05 10:26:06 +0000 |
commit | f06c98fec82e8c800e09603f3022676dbbfdd84b (patch) | |
tree | 4b9c256000250e87ccb9074c05d7ed53f75d58a3 | |
parent | 8a0dfe4504b6bc3e7a9f1bad7b040b496a75736c (diff) | |
download | rockbox-f06c98fec82e8c800e09603f3022676dbbfdd84b.tar.gz rockbox-f06c98fec82e8c800e09603f3022676dbbfdd84b.zip |
Fix FS#10617 (fix spotted by Teruaki Kawashima), something about the %C not working if %?C is the first tokens in the skin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22944 a1c6a512-1295-4272-9138-f99709370657
-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 e62d473405..7e2ceabdb2 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -1135,7 +1135,7 @@ static int parse_albumart_display(const char *wps_bufptr, | |||
1135 | { | 1135 | { |
1136 | (void)wps_bufptr; | 1136 | (void)wps_bufptr; |
1137 | struct wps_token *prev = token-1; | 1137 | struct wps_token *prev = token-1; |
1138 | if ((wps_data->num_tokens > 1) && (prev->type == WPS_TOKEN_CONDITIONAL)) | 1138 | if ((wps_data->num_tokens >= 1) && (prev->type == WPS_TOKEN_CONDITIONAL)) |
1139 | { | 1139 | { |
1140 | token->type = WPS_TOKEN_ALBUMART_FOUND; | 1140 | token->type = WPS_TOKEN_ALBUMART_FOUND; |
1141 | } | 1141 | } |