fix breakage from r67537 with alias inheriting or somesuch
authordiscomfitor <discomfitor>
Fri, 10 Feb 2012 20:34:18 +0000 (20:34 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 10 Feb 2012 20:34:18 +0000 (20:34 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@67833 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_cc_handlers.c

index 635c401..2fdf660 100644 (file)
@@ -2187,6 +2187,7 @@ st_collections_group_name(void)
    older = eina_hash_find(edje_file->collection, current_de->entry);
    if (older) eina_hash_del(edje_file->collection, current_de->entry, older);
    eina_hash_direct_add(edje_file->collection, current_de->entry, current_de);
+   if (!older) return;
 
    EINA_LIST_FOREACH(aliases, l, alias)
      if (strcmp(alias->entry, current_de->entry) == 0)