summaryrefslogtreecommitdiff
path: root/src/bin/exactness/player.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-05-12 09:21:17 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2020-05-12 16:10:02 +0200
commit06258d3177d49990749ee59142cb669fd307dfc3 (patch)
tree4a1db175f57130d67b6809eccf8fc119d3f2c865 /src/bin/exactness/player.c
parentd5b119a30a27eae27a9f85b5a818bd8608aa65ff (diff)
downloadefl-06258d3177d49990749ee59142cb669fd307dfc3.tar.gz
exactness: resolve float compare warnings
Summary: Depends on D11796 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11797
Diffstat (limited to 'src/bin/exactness/player.c')
-rw-r--r--src/bin/exactness/player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/exactness/player.c b/src/bin/exactness/player.c
index b35637f25c..44b3f36303 100644
--- a/src/bin/exactness/player.c
+++ b/src/bin/exactness/player.c
@@ -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;