mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Actually fix AA display... previous commit was borked
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22728 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6d16d1cf3d
commit
05fd9ee182
1 changed files with 3 additions and 6 deletions
|
@ -1120,14 +1120,11 @@ static int parse_albumart_display(const char *wps_bufptr,
|
|||
struct wps_data *wps_data)
|
||||
{
|
||||
(void)wps_bufptr;
|
||||
if (wps_data->num_tokens > 1)
|
||||
{
|
||||
struct wps_token *prev = token-1;
|
||||
if (prev->type == WPS_TOKEN_CONDITIONAL)
|
||||
if ((wps_data->num_tokens > 1) && (prev->type == WPS_TOKEN_CONDITIONAL))
|
||||
{
|
||||
token->type = WPS_TOKEN_ALBUMART_FOUND;
|
||||
}
|
||||
}
|
||||
else if (wps_data->albumart)
|
||||
{
|
||||
wps_data->albumart->vp = &curr_vp->vp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue