summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-09-11 01:28:36 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-09-11 01:28:36 +0000
commit86c543216f13c1171eefd6dd8116855a7fa9c4bd (patch)
treef0e072086e234686f35d16904db300b324105736 /apps
parente80acd41b8b6450c83a83fe37a47bc75a3d5d88c (diff)
Fix FS#12270 - properly initialiase the wps_data struct so skin_data_reset() doesnt crash later
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30499 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_engine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_engine.c b/apps/gui/skin_engine/skin_engine.c
index d136f90aa5..21d29452af 100644
--- a/apps/gui/skin_engine/skin_engine.c
+++ b/apps/gui/skin_engine/skin_engine.c
@@ -125,6 +125,7 @@ void gui_sync_skin_init(void)
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));
}
}
}