handle no name part.

SVN revision: 18995
This commit is contained in:
Carsten Haitzler 2005-12-13 15:11:21 +00:00
parent 79e003fe0b
commit 6fbd81ed4c
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ st_collections_group_parts_part_name(void)
Edje_Part *lep;
lep = l->data;
if ((lep != ep) && (!strcmp(lep->name, ep->name)))
if ((lep != ep) && (lep->name) && (!strcmp(lep->name, ep->name)))
{
fprintf(stderr, "%s: Error. parse error %s:%i. There is already a part of the name %s\n",
progname, file_in, line - 1, ep->name);