diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-09-18 05:45:15 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-09-18 05:45:15 +0000 |
commit | 05fd9ee182a6a9147bd2fe285ee91307e6620c96 (patch) | |
tree | 228af1cbb0e7d95e195d48a92d153d3b375cd83b | |
parent | 6d16d1cf3d327fa19745b8ae921d58381fbee0f6 (diff) | |
download | rockbox-05fd9ee182a6a9147bd2fe285ee91307e6620c96.tar.gz rockbox-05fd9ee182a6a9147bd2fe285ee91307e6620c96.zip |
Actually fix AA display... previous commit was borked
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22728 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 3717dadd48..ede1871414 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -1120,13 +1120,10 @@ static int parse_albumart_display(const char *wps_bufptr, | |||
1120 | struct wps_data *wps_data) | 1120 | struct wps_data *wps_data) |
1121 | { | 1121 | { |
1122 | (void)wps_bufptr; | 1122 | (void)wps_bufptr; |
1123 | if (wps_data->num_tokens > 1) | 1123 | struct wps_token *prev = token-1; |
1124 | if ((wps_data->num_tokens > 1) && (prev->type == WPS_TOKEN_CONDITIONAL)) | ||
1124 | { | 1125 | { |
1125 | struct wps_token *prev = token-1; | 1126 | token->type = WPS_TOKEN_ALBUMART_FOUND; |
1126 | if (prev->type == WPS_TOKEN_CONDITIONAL) | ||
1127 | { | ||
1128 | token->type = WPS_TOKEN_ALBUMART_FOUND; | ||
1129 | } | ||
1130 | } | 1127 | } |
1131 | else if (wps_data->albumart) | 1128 | else if (wps_data->albumart) |
1132 | { | 1129 | { |