summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-20 10:28:39 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-20 10:28:39 -0500
commite8e59204b11a78dcc18eddb9e5036c2678baf8ad (patch)
treeab790f23c4b82cfc0376d219df2be776a9042b99 /src/lib/ecore_evas
parent2ae4c978f9b93a59d52d36e7565f3220f6d64e37 (diff)
ecore-evas: remove float comparison warnings for ecore_evas.c
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 293b1e3170..ea4ce4bcff 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -2553,7 +2553,7 @@ _ecore_evas_fps_debug_rendertime_add(double t)
2553 tim = ecore_time_get(); 2553 tim = ecore_time_get();
2554 rtime += t; 2554 rtime += t;
2555 frames++; 2555 frames++;
2556 if (rlapse == 0.0) 2556 if (EINA_DBL_CMP(rlapse, 0.0))
2557 { 2557 {
2558 rlapse = tim; 2558 rlapse = tim;
2559 flapse = frames; 2559 flapse = frames;
@@ -3855,7 +3855,8 @@ _pointer_position_set(Efl_Input_Pointer_Data *ev, Ecore_Evas *ee, int x, int y,
3855{ 3855{
3856 int fx, fy, fw, fh; 3856 int fx, fy, fw, fh;
3857 3857
3858 if (!mx && !my) 3858 if ((EINA_DBL_CMP(mx, 0.0)) &&
3859 (EINA_DBL_CMP(my, 0.0)))
3859 { 3860 {
3860 mx = x; 3861 mx = x;
3861 my = y; 3862 my = y;