summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUmesh Tanwar <umesh.tanwar@samsung.com>2017-03-10 11:59:52 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2017-03-10 12:00:42 +0530
commitd4dd0b20dfa00d9b6fda9490d5c48dcbbad5de8f (patch)
treeef8c1d3181fc84f7ddc8946fb8f635e060acfccc
parent3b4cbc56bb86d3344ddc6f40b874cc178c26b216 (diff)
Gengrid: Correct double comparision.
Summary: Use the more accurate EINA_DBL_EQ for double comparision. @fix Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com> Reviewers: singh.amitesh, cedric, jpeg, raster Reviewed By: singh.amitesh Subscribers: atulfokk, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4706 Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
-rw-r--r--src/lib/elementary/elm_gengrid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c
index 3be1fee00a..7bedd5d89d 100644
--- a/src/lib/elementary/elm_gengrid.c
+++ b/src/lib/elementary/elm_gengrid.c
@@ -3084,7 +3084,7 @@ _item_move_cb(void *data, double pos)
3084 3084
3085 evas_object_move(VIEW(sd->reorder.it1), xx1, yy1); 3085 evas_object_move(VIEW(sd->reorder.it1), xx1, yy1);
3086 3086
3087 if (pos == 1.0) 3087 if (EINA_DBL_EQ(pos, 1.0))
3088 { 3088 {
3089 _anim_end(sd); 3089 _anim_end(sd);
3090 if (sd->reorder.type == ELM_GENGRID_REORDER_TYPE_NORMAL) 3090 if (sd->reorder.type == ELM_GENGRID_REORDER_TYPE_NORMAL)