edje_edit: fix segmentation fault(Array index is out of bound)
@fix
This commit is contained in:
parent
4f3c8bc433
commit
88f5ac22c1
|
@ -11628,6 +11628,8 @@ _edje_program_afters_get(Evas_Object *obj, Edje_Program *epr)
|
|||
{
|
||||
Edje_Program *p = NULL;
|
||||
|
||||
if (a->id < 0) continue;
|
||||
|
||||
p = ed->collection->patterns.table_programs[a->id % ed->collection->patterns.table_programs_size];
|
||||
if (p && p->name)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue