embryo: Fix typo in float comparison 'fix'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2016-12-20 11:27:18 -05:00
parent 913479199d
commit 3b7b894a62
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ _embryo_fp_cmp(Embryo_Program *ep EINA_UNUSED, Embryo_Cell *params)
if (params[0] != (2 * sizeof(Embryo_Cell))) return 0;
f = EMBRYO_CELL_TO_FLOAT(params[1]);
ff = EMBRYO_CELL_TO_FLOAT(params[2]);
if (EINA_FLT_CMP(F, FF)) return 0;
if (EINA_FLT_CMP(f, ff)) return 0;
else if (f > ff)
return 1;
return -1;