edje: patch all group the intended way.
authorCedric BAIL <cedric.bail@free.fr>
Tue, 20 Dec 2011 10:28:30 +0000 (10:28 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Tue, 20 Dec 2011 10:28:30 +0000 (10:28 +0000)
SVN revision: 66382

legacy/edje/src/bin/edje_cc_out.c

index fc77d9d..20e5ae4 100644 (file)
@@ -1702,12 +1702,14 @@ data_process_lookups(void)
      {
        Edje_Part_Collection_Directory_Entry *de;
 
-        if (!group->part
-            || (group->part->type != EDJE_PART_TYPE_GROUP
+        if (group->part)
+         {
+           if (group->part->type != EDJE_PART_TYPE_GROUP
                 && group->part->type != EDJE_PART_TYPE_TEXTBLOCK
                 && group->part->type != EDJE_PART_TYPE_BOX
-                && group->part->type != EDJE_PART_TYPE_TABLE))
-          goto free_group;
+                && group->part->type != EDJE_PART_TYPE_TABLE)
+             goto free_group;
+         }
 
        de = eina_hash_find(edje_file->collection, group->name);