From a10199b19734e1cb3a4a4c2ccd8d74c221cb09ac Mon Sep 17 00:00:00 2001 From: discomfitor Date: Mon, 7 Nov 2011 06:10:06 +0000 Subject: [PATCH] don't need to strlen here git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@64856 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/edje_cc_out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/edje_cc_out.c b/src/bin/edje_cc_out.c index 1d4195e..903bc40 100644 --- a/src/bin/edje_cc_out.c +++ b/src/bin/edje_cc_out.c @@ -1391,7 +1391,7 @@ data_queue_part_lookup(Edje_Part_Collection *pc, const char *name, int *dest) if ((pl->pc == pc) && (pl->dest == dest)) { free(pl->name); - if (strlen(name) > 0) + if (name[0]) pl->name = mem_strdup(name); else { -- 2.7.4