Also make sure progressbars don't tihnk their images are loaded

Change-Id: I83bb8e246e4858396ca0b5d0d90fbd2d08a88c1e
This commit is contained in:
Jonathan Gordon 2014-05-18 20:58:00 +10:00
parent 62d357b601
commit 8fb0bbcc20

View file

@ -1090,6 +1090,7 @@ static int parse_progressbar_tag(struct skin_element* element,
img->using_preloaded_icons = false; img->using_preloaded_icons = false;
img->buflib_handle = -1; img->buflib_handle = -1;
img->vp = PTRTOSKINOFFSET(skin_buffer, &curr_vp->vp); img->vp = PTRTOSKINOFFSET(skin_buffer, &curr_vp->vp);
img->loaded = false;
struct skin_token_list *item = new_skin_token_list_item(NULL, img); struct skin_token_list *item = new_skin_token_list_item(NULL, img);
if (!item) if (!item)
return WPS_ERROR_INVALID_PARAM; return WPS_ERROR_INVALID_PARAM;