summaryrefslogtreecommitdiff
path: root/src/lib/edje
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-12-20 16:00:05 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-12-20 16:39:30 -0800
commit7abe432992fd974c7440097f97a607fea845172d (patch)
tree051607376cec5e4df81b0d0d406359b3d5bb23d4 /src/lib/edje
parentb3ce8381e2c36732802c4f73f5f98ce8f71b554d (diff)
edje: fix float comparison warning in edje callback code.
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_callbacks.c b/src/lib/edje/edje_callbacks.c
index c92f3295bf..8a320933c9 100644
--- a/src/lib/edje/edje_callbacks.c
+++ b/src/lib/edje/edje_callbacks.c
@@ -320,7 +320,7 @@ _edje_mouse_move_signal_cb(void *data, const Efl_Event *event)
320 FLOAT_T dx, dy; 320 FLOAT_T dx, dy;
321 321
322 _edje_part_dragable_calc(ed, rp, &dx, &dy); 322 _edje_part_dragable_calc(ed, rp, &dx, &dy);
323 if ((dx != rp->drag->val.x) || (dy != rp->drag->val.y)) 323 if ((NEQ(dx, rp->drag->val.x)) || (NEQ(dy, rp->drag->val.y)))
324 { 324 {
325 rp->drag->val.x = dx; 325 rp->drag->val.x = dx;
326 rp->drag->val.y = dy; 326 rp->drag->val.y = dy;