summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyuan Choi <ryuan.choi@gmail.com>2014-03-29 12:52:16 +0900
committerRyuan Choi <ryuan.choi@gmail.com>2014-03-31 22:13:19 +0900
commitc2088d83260ccd6b24001aa34aa233f46c621f30 (patch)
tree325259f6c01f90d985bf6478f285ad19bd3eb179
parente59c14eda99800469be6243dbf9a5eb383056ec2 (diff)
edje_cc: Fix the crash when compiled wrong edc file containing empty part
It's regression since cff3ec04b. @fix (master : c2077f48539257dfb06df13a7758eacc7318b5ca)
-rw-r--r--src/bin/edje/edje_cc_out.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index e30b5965cc..88ecd97223 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -2248,6 +2248,7 @@ _data_image_id_update(Eina_List *images_unused_list)
2248 if (part->type == EDJE_PART_TYPE_IMAGE) 2248 if (part->type == EDJE_PART_TYPE_IMAGE)
2249 { 2249 {
2250 part_desc_image = (Edje_Part_Description_Image *)part->default_desc; 2250 part_desc_image = (Edje_Part_Description_Image *)part->default_desc;
2251 if (!part_desc_image) continue;
2251 PART_DESC_IMAGE_ID_UPDATE 2252 PART_DESC_IMAGE_ID_UPDATE
2252 for (j = 0; j < part->other.desc_count; j++) 2253 for (j = 0; j < part->other.desc_count; j++)
2253 { 2254 {