forked from enlightenment/efl
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:
parent
d5b119a30a
commit
06258d3177
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue