summaryrefslogtreecommitdiffstats
path: root/apps/gui/skin_engine/skin_engine.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-09-11 09:07:20 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-09-11 09:07:20 +0000
commit93a600fdab817ccfc2c8f9301d9190aed3552ad6 (patch)
tree94c819046d4b90ae3823a7614a7e2ce10599705e /apps/gui/skin_engine/skin_engine.c
parent3b9ffd28da4d2af023e6a77ab1d6ee683f90ef6b (diff)
downloadrockbox-93a600fdab817ccfc2c8f9301d9190aed3552ad6.tar.gz
rockbox-93a600fdab817ccfc2c8f9301d9190aed3552ad6.zip
Fix albumart which r30500 broke (FS#12271)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30501 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_engine.c')
-rw-r--r--apps/gui/skin_engine/skin_engine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/gui/skin_engine/skin_engine.c b/apps/gui/skin_engine/skin_engine.c
index 21d29452af..8e85cb891f 100644
--- a/apps/gui/skin_engine/skin_engine.c
+++ b/apps/gui/skin_engine/skin_engine.c
@@ -118,14 +118,14 @@ void gui_sync_skin_init(void)
{
skins[j][i].buffer_start = NULL;
skins[j][i].needs_full_update = true;
+ skins[j][i].gui_wps.data = &skins[j][i].data;
+ skins[j][i].gui_wps.display = &screens[i];
+ memset(skins[j][i].gui_wps.data, 0, sizeof(struct wps_data));
+ skins[j][i].data.wps_loaded = false;
#ifdef HAVE_ALBUMART
skins[j][i].data.albumart = NULL;
skins[j][i].data.playback_aa_slot = -1;
#endif
- skins[j][i].gui_wps.data = &skins[j][i].data;
- skins[j][i].data.wps_loaded = false;
- skins[j][i].gui_wps.display = &screens[i];
- memset(skins[j][i].gui_wps.data, 0, sizeof(struct wps_data));
}
}
}