forked from enlightenment/efl
elementary: fix float comparison warning in flip page test.
This commit is contained in:
parent
ee79b90066
commit
a5bc6f7b00
|
@ -385,7 +385,7 @@ _state_update(State *st)
|
||||||
|
|
||||||
if (mx < 1) mx = 1; // quick hack to keep curl line visible
|
if (mx < 1) mx = 1; // quick hack to keep curl line visible
|
||||||
|
|
||||||
if (mgrad == 0.0) // special horizontal case
|
if (EINA_DBL_CMP(mgrad, 0.0)) // special horizontal case
|
||||||
mgrad = 0.001; // quick dirty hack for now
|
mgrad = 0.001; // quick dirty hack for now
|
||||||
// else
|
// else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue