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
This commit is contained in:
parent
8a0dfe4504
commit
f06c98fec8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue