devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=87c085688d5b18d8017d51cc9df603613704536c

commit 87c085688d5b18d8017d51cc9df603613704536c
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Dec 20 10:30:04 2016 -0500

    ecore-fb: remove float comparison warnings for ecore_fb_li
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_fb/ecore_fb_li.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_fb/ecore_fb_li.c b/src/lib/ecore_fb/ecore_fb_li.c
index ec50a10..267d545 100644
--- a/src/lib/ecore_fb/ecore_fb_li.c
+++ b/src/lib/ecore_fb/ecore_fb_li.c
@@ -699,7 +699,8 @@ EAPI void
 ecore_fb_input_device_threshold_click_set(Ecore_Fb_Input_Device *dev, double 
threshold)
 {
    if (!dev) return;
-   if ((threshold == dev->mouse.threshold) || (threshold == 0)) return;
+   if ((EINA_DBL_CMP(threshold, dev->mouse.threshold)) ||
+       (EINA_DBL_CMP(threshold, 0.0))) return;
    dev->mouse.threshold = threshold;
 }
 

-- 


Reply via email to