edje: don't use strlen() == 0
authorenglebass <englebass>
Wed, 21 Dec 2011 20:09:23 +0000 (20:09 +0000)
committerenglebass <englebass@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 21 Dec 2011 20:09:23 +0000 (20:09 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@66442 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_cc_out.c

index 20e5ae4..0d52089 100644 (file)
@@ -1376,7 +1376,7 @@ data_queue_group_lookup(const char *name, Edje_Part *part)
 {
    Group_Lookup *gl;
 
-   if (!name || strlen(name) == 0) return ;
+   if (!name || !name[0]) return;
 
    gl = mem_alloc(SZ(Group_Lookup));
    group_lookups = eina_list_append(group_lookups, gl);