summaryrefslogtreecommitdiff
path: root/apps/gui/wps.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-09-25 18:36:28 +0000
committerThomas Martitz <kugel@rockbox.org>2009-09-25 18:36:28 +0000
commitba8fbb0b9bb8db9f654b0120809e343516c02531 (patch)
treea182db2b938057580b6ecfab8d3262865e9b1d13 /apps/gui/wps.c
parentd045f59989137afc5e9138277bcb24dcfc4c5f3f (diff)
downloadrockbox-ba8fbb0b9bb8db9f654b0120809e343516c02531.tar.gz
rockbox-ba8fbb0b9bb8db9f654b0120809e343516c02531.zip
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
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r--apps/gui/wps.c6
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 }