cedric pushed a commit to branch master.

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

commit a07a2671450a875026af50e6bc74db488a90618b
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Tue Dec 20 15:41:23 2016 -0800

    elementary: fix float comparison warning in c&p.
---
 src/lib/elementary/elm_cnp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_cnp.c b/src/lib/elementary/elm_cnp.c
index 64f4cba..06d260e 100644
--- a/src/lib/elementary/elm_cnp.c
+++ b/src/lib/elementary/elm_cnp.c
@@ -5499,7 +5499,7 @@ _cont_obj_anim_start(void *data)
                _drag_anim_start(st);
              else
                {
-                  if (st->anim_tm)
+                  if (!EINA_DBL_CMP(st->anim_tm, 0.0))
                     {
                        // even if we don't manage the icons animation, we have
                        // to wait until it is finished before beginning drag.

-- 


Reply via email to