embryo: Fix typo in float comparison 'fix'
authorChris Michael <cp.michael@samsung.com>
Tue, 20 Dec 2016 16:27:18 +0000 (11:27 -0500)
committerChris Michael <cp.michael@samsung.com>
Tue, 20 Dec 2016 16:27:18 +0000 (11:27 -0500)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/embryo/embryo_float.c

index 8eba7bb..0d16e62 100644 (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;