forked from enlightenment/efl
on second thought - limit to 0 if < 0 - rest of ecore-timer does this.
SVN revision: 76809
This commit is contained in:
parent
cc72c09b84
commit
8c261bb4de
|
@ -232,13 +232,7 @@ ecore_timer_interval_set(Ecore_Timer *timer,
|
||||||
{
|
{
|
||||||
EINA_MAIN_LOOP_CHECK_RETURN;
|
EINA_MAIN_LOOP_CHECK_RETURN;
|
||||||
_ecore_lock();
|
_ecore_lock();
|
||||||
|
if (in < 0.0) in = 0.0;
|
||||||
if (in < 0.0)
|
|
||||||
{
|
|
||||||
ERR("Interval %f less than zero, ignored", in);
|
|
||||||
goto unlock;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!ECORE_MAGIC_CHECK(timer, ECORE_MAGIC_TIMER))
|
if (!ECORE_MAGIC_CHECK(timer, ECORE_MAGIC_TIMER))
|
||||||
{
|
{
|
||||||
ECORE_MAGIC_FAIL(timer, ECORE_MAGIC_TIMER,
|
ECORE_MAGIC_FAIL(timer, ECORE_MAGIC_TIMER,
|
||||||
|
|
Loading…
Reference in New Issue