mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27: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,13 +1120,10 @@ static int parse_albumart_display(const char *wps_bufptr,
|
||||||
struct wps_data *wps_data)
|
struct wps_data *wps_data)
|
||||||
{
|
{
|
||||||
(void)wps_bufptr;
|
(void)wps_bufptr;
|
||||||
if (wps_data->num_tokens > 1)
|
struct wps_token *prev = token-1;
|
||||||
|
if ((wps_data->num_tokens > 1) && (prev->type == WPS_TOKEN_CONDITIONAL))
|
||||||
{
|
{
|
||||||
struct wps_token *prev = token-1;
|
token->type = WPS_TOKEN_ALBUMART_FOUND;
|
||||||
if (prev->type == WPS_TOKEN_CONDITIONAL)
|
|
||||||
{
|
|
||||||
token->type = WPS_TOKEN_ALBUMART_FOUND;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (wps_data->albumart)
|
else if (wps_data->albumart)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue