edje: fix float comparison warning in Box Layout logic.

This commit is contained in:
Cedric BAIL 2016-12-20 15:58:48 -08:00
parent 9730eb1f47
commit dc022d602d
1 changed files with 1 additions and 1 deletions

View File

@ -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)