summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-10-05 10:26:06 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-10-05 10:26:06 +0000
commitf06c98fec82e8c800e09603f3022676dbbfdd84b (patch)
tree4b9c256000250e87ccb9074c05d7ed53f75d58a3 /apps
parent8a0dfe4504b6bc3e7a9f1bad7b040b496a75736c (diff)
downloadrockbox-f06c98fec82e8c800e09603f3022676dbbfdd84b.tar.gz
rockbox-f06c98fec82e8c800e09603f3022676dbbfdd84b.tar.bz2
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
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_parser.c2
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,
{
(void)wps_bufptr;
struct wps_token *prev = token-1;
- if ((wps_data->num_tokens > 1) && (prev->type == WPS_TOKEN_CONDITIONAL))
+ if ((wps_data->num_tokens >= 1) && (prev->type == WPS_TOKEN_CONDITIONAL))
{
token->type = WPS_TOKEN_ALBUMART_FOUND;
}