elementary: fix float comparison warning in flip page test.

This commit is contained in:
Cedric BAIL 2016-12-20 14:55:21 -08:00
parent ee79b90066
commit a5bc6f7b00
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ _state_update(State *st)
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
// else
{