summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2014-05-18 20:58:00 +1000
committerJonathan Gordon <rockbox@jdgordon.info>2014-05-18 20:58:00 +1000
commit8fb0bbcc20e3348193eedc44cd5c9c0fac899ad3 (patch)
tree7128a5362c4d27960f2265b5fab1281bde9dfcaf
parent62d357b60141d64a754de86fdfaa50d819ab8aba (diff)
downloadrockbox-8fb0bbc.tar.gz
rockbox-8fb0bbc.tar.bz2
rockbox-8fb0bbc.zip
Also make sure progressbars don't tihnk their images are loaded
Change-Id: I83bb8e246e4858396ca0b5d0d90fbd2d08a88c1e
-rw-r--r--apps/gui/skin_engine/skin_parser.c1
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 44747748f4..bd89372d22 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -1090,6 +1090,7 @@ static int parse_progressbar_tag(struct skin_element* element,
img->using_preloaded_icons = false;
img->buflib_handle = -1;
img->vp = PTRTOSKINOFFSET(skin_buffer, &curr_vp->vp);
+ img->loaded = false;
struct skin_token_list *item = new_skin_token_list_item(NULL, img);
if (!item)
return WPS_ERROR_INVALID_PARAM;