cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=dc022d602d3e7d396137bb6bfb290e70880d89dd

commit dc022d602d3e7d396137bb6bfb290e70880d89dd
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Tue Dec 20 15:58:48 2016 -0800

    edje: fix float comparison warning in Box Layout logic.
---
 src/lib/edje/edje_box_layout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_box_layout.c b/src/lib/edje/edje_box_layout.c
index 8ba073c..1abfbc9 100644
--- a/src/lib/edje/edje_box_layout.c
+++ b/src/lib/edje/edje_box_layout.c
@@ -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)

-- 


Reply via email to