forked from enlightenment/efl
edje_cc: Fix the crash when compiled wrong edc file containing empty part
It's regression since cff3ec04b
.
@fix
This commit is contained in:
parent
7c018bba0d
commit
c2077f4853
|
@ -2534,6 +2534,7 @@ _data_image_id_update(Eina_List *images_unused_list)
|
|||
if (part->type == EDJE_PART_TYPE_IMAGE)
|
||||
{
|
||||
part_desc_image = (Edje_Part_Description_Image *)part->default_desc;
|
||||
if (!part_desc_image) continue;
|
||||
PART_DESC_IMAGE_ID_UPDATE
|
||||
for (j = 0; j < part->other.desc_count; j++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue