summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-23 19:12:32 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-23 19:12:32 +0900
commit8a80005f254caf314e77ee1139ef3f4a4c73123e (patch)
tree55c6ba822209129509760cf23f1a55982893fa7f /src/lib/ecore
parent758e7d35629e01589a23cef085d940dd7bfee5d5 (diff)
ecore main - fix division to remain a double/float as expected
1/60 != 1.0/60.0 ... the first is an integer which is 0... the second is 0.016666666 .... a float/double. fix CID 1377532
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c
index 868fc4ccf5..d3671260f0 100644
--- a/src/lib/ecore/ecore_main.c
+++ b/src/lib/ecore/ecore_main.c
@@ -2897,7 +2897,7 @@ _check_event_catcher_add(void *data, const Efl_Event *event)
2897 // of the main loop for better energy efficiency, I guess. 2897 // of the main loop for better energy efficiency, I guess.
2898 pd->poll_high = efl_add(EFL_LOOP_TIMER_CLASS, event->object, 2898 pd->poll_high = efl_add(EFL_LOOP_TIMER_CLASS, event->object,
2899 efl_event_callback_add(efl_added, EFL_LOOP_TIMER_EVENT_TICK, _poll_trigger, EFL_LOOP_EVENT_POLL_HIGH), 2899 efl_event_callback_add(efl_added, EFL_LOOP_TIMER_EVENT_TICK, _poll_trigger, EFL_LOOP_EVENT_POLL_HIGH),
2900 efl_loop_timer_interval_set(efl_added, 1/60)); 2900 efl_loop_timer_interval_set(efl_added, 1.0/60.0));
2901 } 2901 }
2902 ++pd->pollers.high; 2902 ++pd->pollers.high;
2903 } 2903 }