diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2014-05-18 20:47:32 +1000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2014-05-18 20:47:32 +1000 |
commit | 62d357b60141d64a754de86fdfaa50d819ab8aba (patch) | |
tree | 91b3dc13a49046d02819fe5d74d4e7a610afe8a0 /apps/gui/skin_engine | |
parent | cb205c8b560b78526dcb75b4c3ceb0fbfac75fe4 (diff) |
fix skin buffer crashes, img's are not loaded initialy
Change-Id: I32b5d5e446f5ae9340be2bd47841b06a5dbabeec
Diffstat (limited to 'apps/gui/skin_engine')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index cf90ff5eab..44747748f4 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -422,6 +422,7 @@ static int parse_image_load(struct skin_element *element, img->using_preloaded_icons = false; img->buflib_handle = -1; img->is_9_segment = false; + img->loaded = false; /* save current viewport */ img->vp = PTRTOSKINOFFSET(skin_buffer, &curr_vp->vp); |