exactness: resolve float compare warnings

Summary: Depends on D11796

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11797
This commit is contained in:
Mike Blumenkrantz 2020-05-12 09:21:17 +02:00 committed by Xavi Artigas
parent d5b119a30a
commit 06258d3177
1 changed files with 1 additions and 1 deletions

View File

@ -801,7 +801,7 @@ _src_open()
last_action_type = act->type;
}
}
if (_speed && _speed != 1)
if (EINA_DBL_NONZERO(_speed) && (!EINA_DBL_EQ(_speed, 1)))
{
EINA_LIST_FOREACH(_src_unit->actions, itr, act)
act->delay_ms /= _speed;