break out of while, not return

No change in functionality

Fixes CID 1039946, 1039948 and 1039949
This commit is contained in:
Sebastian Dransfeld 2013-12-07 21:37:39 +01:00
parent 0e5e0ec218
commit 7542ddef4c
1 changed files with 2 additions and 2 deletions

View File

@ -301,13 +301,13 @@ e_util_edje_icon_list_set(Evas_Object *obj, const char *list)
buf[c - p] = 0;
if (e_util_edje_icon_set(obj, buf)) return 1;
p = c + 1;
if (!*p) return 0;
if (!*p) break;
}
else
{
strcpy(buf, p);
if (e_util_edje_icon_set(obj, buf)) return 1;
return 0;
break;
}
}
return 0;