rel1.to: ""; fix build error.
authorjaehwan <jaehwan>
Mon, 14 Nov 2011 11:04:37 +0000 (11:04 +0000)
committerjaehwan <jaehwan@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 14 Nov 2011 11:04:37 +0000 (11:04 +0000)
Actually, if rel1.to_x is not used in the matched description of the parent group, rel1.to_x: ""; doesn't need to be used in the description of the child group.
Because its state is already default. But sometime we may want to use it explicitly. So I add this code in order to cover that case.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@65160 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_cc_out.c

index 903bc40..443a702 100644 (file)
@@ -1401,6 +1401,7 @@ data_queue_part_lookup(Edje_Part_Collection *pc, const char *name, int *dest)
              return;
           }
      }
+   if (!name[0]) return;
 
    pl = mem_alloc(SZ(Part_Lookup));
    part_lookups = eina_list_append(part_lookups, pl);