forked from enlightenment/efl
edje_calc: fix check return of _edje_fetch
Summary: checks if _edje_fetch returns null before calling _edje_recalc_do. Reviewers: Hermet, raster, kimcinoo, jsuya Reviewed By: jsuya Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12322
This commit is contained in:
parent
d3a1b077fb
commit
3756b88cde
|
@ -4082,10 +4082,8 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
|
|||
}
|
||||
if (edje_object_update_hints_get(ep->typedata.swallow->swallowed_object))
|
||||
{
|
||||
Edje *ted;
|
||||
|
||||
ted = _edje_fetch(ep->typedata.swallow->swallowed_object);
|
||||
_edje_recalc_do(ted);
|
||||
Edje *ted = _edje_fetch(ep->typedata.swallow->swallowed_object);
|
||||
if (ted) _edje_recalc_do(ted);
|
||||
}
|
||||
|
||||
Edje_Size *min = NULL, *max = NULL;
|
||||
|
|
Loading…
Reference in New Issue