projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3ce838
)
edje: fix float comparison warning in edje callback code.
author
Cedric BAIL
<cedric@osg.samsung.com>
Wed, 21 Dec 2016 00:00:05 +0000
(16:00 -0800)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Wed, 21 Dec 2016 00:39:30 +0000
(16:39 -0800)
src/lib/edje/edje_callbacks.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_callbacks.c
b/src/lib/edje/edje_callbacks.c
index
c92f329
..
8a32093
100644
(file)
--- 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)
FLOAT_T dx, dy;
_edje_part_dragable_calc(ed, rp, &dx, &dy);
- if ((
dx != rp->drag->val.x) || (dy != rp->drag->val.y
))
+ if ((
NEQ(dx, rp->drag->val.x)) || (NEQ(dy, rp->drag->val.y)
))
{
rp->drag->val.x = dx;
rp->drag->val.y = dy;