edje: don't compile if we have a group without a name

SVN revision: 75035
This commit is contained in:
Michael BOUCHAUD 2012-08-09 08:57:35 +00:00
parent 40bfd3933f
commit bd45f13f66
1 changed files with 5 additions and 0 deletions

View File

@ -2052,6 +2052,11 @@ data_process_lookups(void)
unsigned int id = 0;
unsigned int i;
if (!pc->part)
{
ERR("A collection without a name was detected, that's not allowed.");
exit(-1);
}
find = eina_hash_find(edje_file->collection, pc->part);
if (find && find->id == pc->id)
continue ;