don't need to strlen here

SVN revision: 64856
This commit is contained in:
Mike Blumenkrantz 2011-11-07 06:10:06 +00:00
parent c4822f0667
commit d06a1d21a7
1 changed files with 1 additions and 1 deletions

View File

@ -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
{