cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=bec8a19080cede1e02214bba9a97fb46046e50b8
commit bec8a19080cede1e02214bba9a97fb46046e50b8 Author: Cedric BAIL <ced...@osg.samsung.com> Date: Tue Dec 20 15:42:00 2016 -0800 elementary: fix float comparison warning in multi button entry. --- src/lib/elementary/elc_multibuttonentry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/elementary/elc_multibuttonentry.c b/src/lib/elementary/elc_multibuttonentry.c index bdd5f6b..a78f176 100644 --- a/src/lib/elementary/elc_multibuttonentry.c +++ b/src/lib/elementary/elc_multibuttonentry.c @@ -1383,12 +1383,12 @@ _box_layout_cb(Evas_Object *o, efl_gfx_size_hint_combined_min_get(obj, &mnw, &mnh); fw = fh = EINA_FALSE; - if (ax == -1.0) {fw = 1; ax = 0.5; } - if (ay == -1.0) {fh = 1; ay = 0.5; } + if (EINA_DBL_CMP(ax, -1)) {fw = 1; ax = 0.5; } + if (EINA_DBL_CMP(ay, -1)) {fh = 1; ay = 0.5; } if (rtl) ax = 1.0 - ax; ww = mnw; - if (wx) + if (!EINA_DBL_CMP(wx, 0)) { if (ww <= w - linew) ww = w - linew; else ww = w; --