summaryrefslogtreecommitdiff
path: root/src/bin/edje
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/edje')
-rwxr-xr-xsrc/bin/edje/edje_cc_out.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index 674f534dc0..19edf9420c 100755
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -373,9 +373,16 @@ static void
373check_packed_items(Edje_Part_Collection *pc, Edje_Part *ep, Eet_File *ef) 373check_packed_items(Edje_Part_Collection *pc, Edje_Part *ep, Eet_File *ef)
374{ 374{
375 unsigned int i; 375 unsigned int i;
376 char *def_name;
376 377
377 for (i = 0; i < ep->items_count; ++i) 378 for (i = 0; i < ep->items_count; ++i)
378 { 379 {
380 if (!ep->items[i]->name)
381 {
382 def_name = alloca(strlen("item_") + strlen("0xFFFFFFFFFFFFFFFF") + 1);
383 sprintf(def_name, "item_%p", def_name);
384 ep->items[i]->name = strdup(def_name);
385 }
379 if (ep->items[i]->type == EDJE_PART_TYPE_GROUP && !ep->items[i]->source) 386 if (ep->items[i]->type == EDJE_PART_TYPE_GROUP && !ep->items[i]->source)
380 error_and_abort(ef, "Collection %i: missing source on packed item " 387 error_and_abort(ef, "Collection %i: missing source on packed item "
381 "of type GROUP in part \"%s\"", 388 "of type GROUP in part \"%s\"",