From a07a2671450a875026af50e6bc74db488a90618b Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Tue, 20 Dec 2016 15:41:23 -0800 Subject: [PATCH] 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 64f4cba6f8..06d260ea08 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.