summaryrefslogtreecommitdiff
path: root/src/lib/evas/cache2
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-20 10:06:44 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-20 10:25:50 -0500
commit2c9e46ace5a65596e453de6b15fd14c828e59b78 (patch)
tree90b4707886383c396b9e078c8426840cbf1a7539 /src/lib/evas/cache2
parent33ad245b803ad82602cb3656eef8a48de26a0e71 (diff)
evas: remove float comparison warnings for evas_cache2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/evas/cache2')
-rw-r--r--src/lib/evas/cache2/evas_cache2.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/evas/cache2/evas_cache2.c b/src/lib/evas/cache2/evas_cache2.c
index 60242f834c..1c72155a68 100644
--- a/src/lib/evas/cache2/evas_cache2.c
+++ b/src/lib/evas/cache2/evas_cache2.c
@@ -679,12 +679,12 @@ evas_cache2_image_open(Evas_Cache2 *cache, const char *path, const char *key,
679 /* use local var to copy default load options to the image entry */ 679 /* use local var to copy default load options to the image entry */
680 if ((!lo) || 680 if ((!lo) ||
681 (lo && 681 (lo &&
682 (lo->scale_down_by == 0) && 682 (lo->scale_down_by == 0) &&
683 (lo->dpi == 0.0) && 683 (EINA_DBL_CMP(lo->dpi, 0.0)) &&
684 ((lo->w == 0) || (lo->h == 0)) && 684 ((lo->w == 0) || (lo->h == 0)) &&
685 ((lo->region.w == 0) || (lo->region.h == 0)) && 685 ((lo->region.w == 0) || (lo->region.h == 0)) &&
686 ((lo->scale_load.dst_w == 0) || (lo->scale_load.dst_h == 0)) && 686 ((lo->scale_load.dst_w == 0) || (lo->scale_load.dst_h == 0)) &&
687 (lo->orientation == 0) 687 (lo->orientation == 0)
688 )) 688 ))
689 { 689 {
690 lo = &prevent; 690 lo = &prevent;