forked from enlightenment/efl
edje: fix float comparison warning in Box Layout logic.
This commit is contained in:
parent
9730eb1f47
commit
dc022d602d
|
@ -166,7 +166,7 @@ _edje_box_recalc_apply(Edje *ed EINA_UNUSED, Edje_Real_Part *ep, Edje_Calc_Param
|
|||
if ((ep->type != EDJE_RP_TYPE_CONTAINER) ||
|
||||
(!ep->typedata.container)) return;
|
||||
|
||||
if ((ep->param2) && (ep->description_pos != ZERO))
|
||||
if ((ep->param2) && (NEQ(ep->description_pos, ZERO)))
|
||||
{
|
||||
Edje_Part_Description_Box *param2_desc = (Edje_Part_Description_Box *)ep->param2->description;
|
||||
if (ep->typedata.container->anim->end.layout == NULL)
|
||||
|
|
Loading…
Reference in New Issue