summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-04-09 13:33:41 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-04-09 13:33:41 +0900
commitbea88770290c29eaef8fa63dc2676b984dad1c8d (patch)
tree0c86f3ce1edb92059a9c040416ebf84807f23c3b /src/bin
parentc3ee9ff22b8d74eaaad0c65ebd06f59eb1253efe (diff)
edje_cc - handle image sets that are empty by skipping them
this fixes an edje_cc crash on compile for "invalid" edc that has empty image sets.
Diffstat (limited to 'src/bin')
-rwxr-xr-xsrc/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 74df749c37..0a0590fa21 100755
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -2677,6 +2677,7 @@ _data_image_sets_size_set()
2677 { 2677 {
2678 set = edje_file->image_dir->sets + i; 2678 set = edje_file->image_dir->sets + i;
2679 2679
2680 if (!set->entries) continue;
2680 EINA_LIST_FOREACH(set->entries, l, simg) 2681 EINA_LIST_FOREACH(set->entries, l, simg)
2681 { 2682 {
2682 Evas_Object *im; 2683 Evas_Object *im;