From ba8fbb0b9bb8db9f654b0120809e343516c02531 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 25 Sep 2009 18:36:28 +0000 Subject: Rename struct skin_albumart members to be consistent with similar members of other structs. the albumart_ prefix is redundant. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22836 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/wps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/gui/wps.c') 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) FOR_NB_SCREENS(i) { struct gui_wps *gwps = &gui_wps[i]; struct skin_albumart *aa = gwps->data->albumart; - if (aa && (aa->wps_uses_albumart != WPS_ALBUMART_NONE)) + if (aa && (aa->state != WPS_ALBUMART_NONE)) { if (width) - *width = aa->albumart_max_width; + *width = aa->width; if (height) - *height = aa->albumart_max_height; + *height = aa->height; return true; } } -- cgit v1.2.3