forked from enlightenment/enlightenment
break out of while, not return
No change in functionality Fixes CID 1039946, 1039948 and 1039949
This commit is contained in:
parent
0e5e0ec218
commit
7542ddef4c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue