summaryrefslogtreecommitdiff
path: root/src/lib/ecore_fb
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-20 10:30:04 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-20 10:30:04 -0500
commit87c085688d5b18d8017d51cc9df603613704536c (patch)
treef38a33333f6ce1e7b39a5bdd3c4e7b21a0ddf43c /src/lib/ecore_fb
parente8e59204b11a78dcc18eddb9e5036c2678baf8ad (diff)
ecore-fb: remove float comparison warnings for ecore_fb_li
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_fb')
-rw-r--r--src/lib/ecore_fb/ecore_fb_li.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_fb/ecore_fb_li.c b/src/lib/ecore_fb/ecore_fb_li.c
index ec50a10c7a..267d545cb5 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
699ecore_fb_input_device_threshold_click_set(Ecore_Fb_Input_Device *dev, double threshold) 699ecore_fb_input_device_threshold_click_set(Ecore_Fb_Input_Device *dev, double threshold)
700{ 700{
701 if (!dev) return; 701 if (!dev) return;
702 if ((threshold == dev->mouse.threshold) || (threshold == 0)) return; 702 if ((EINA_DBL_CMP(threshold, dev->mouse.threshold)) ||
703 (EINA_DBL_CMP(threshold, 0.0))) return;
703 dev->mouse.threshold = threshold; 704 dev->mouse.threshold = threshold;
704} 705}
705 706