diff options
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r-- | apps/gui/wps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 1f585fcbff..2529686e3e 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c | |||
@@ -1317,12 +1317,12 @@ bool wps_uses_albumart(int *width, int *height) | |||
1317 | FOR_NB_SCREENS(i) { | 1317 | FOR_NB_SCREENS(i) { |
1318 | struct gui_wps *gwps = &gui_wps[i]; | 1318 | struct gui_wps *gwps = &gui_wps[i]; |
1319 | struct skin_albumart *aa = gwps->data->albumart; | 1319 | struct skin_albumart *aa = gwps->data->albumart; |
1320 | if (aa && (aa->wps_uses_albumart != WPS_ALBUMART_NONE)) | 1320 | if (aa && (aa->state != WPS_ALBUMART_NONE)) |
1321 | { | 1321 | { |
1322 | if (width) | 1322 | if (width) |
1323 | *width = aa->albumart_max_width; | 1323 | *width = aa->width; |
1324 | if (height) | 1324 | if (height) |
1325 | *height = aa->albumart_max_height; | 1325 | *height = aa->height; |
1326 | return true; | 1326 | return true; |
1327 | } | 1327 | } |
1328 | } | 1328 | } |