diff options
Diffstat (limited to 'apps/gui/skin_engine/skin_engine.c')
-rw-r--r-- | apps/gui/skin_engine/skin_engine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_engine.c b/apps/gui/skin_engine/skin_engine.c index 5253b88363..c2ed2cdb8c 100644 --- a/apps/gui/skin_engine/skin_engine.c +++ b/apps/gui/skin_engine/skin_engine.c @@ -89,6 +89,7 @@ static void gui_skin_reset(struct gui_skin *skin) skin->needs_full_update = true; skin->gui_wps.data = data = &skin->data; /* copy to temp var to protect against memset */ +#ifdef HAVE_ALBUMART if ((aa_save = SKINOFFSETTOPTR(get_skin_buffer(data), data->albumart))) { short old_width, old_height; @@ -99,6 +100,7 @@ static void gui_skin_reset(struct gui_skin *skin) data->last_albumart_height = old_height; } else +#endif memset(data, 0, sizeof(struct wps_data)); skin->data.wps_loaded = false; skin->data.buflib_handle = -1; |