evas: remove float comparison warnings for evas_cache2

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2016-12-20 10:06:44 -05:00
parent 33ad245b80
commit 2c9e46ace5
1 changed files with 6 additions and 6 deletions

View File

@ -679,12 +679,12 @@ evas_cache2_image_open(Evas_Cache2 *cache, const char *path, const char *key,
/* use local var to copy default load options to the image entry */
if ((!lo) ||
(lo &&
(lo->scale_down_by == 0) &&
(lo->dpi == 0.0) &&
((lo->w == 0) || (lo->h == 0)) &&
((lo->region.w == 0) || (lo->region.h == 0)) &&
((lo->scale_load.dst_w == 0) || (lo->scale_load.dst_h == 0)) &&
(lo->orientation == 0)
(lo->scale_down_by == 0) &&
(EINA_DBL_CMP(lo->dpi, 0.0)) &&
((lo->w == 0) || (lo->h == 0)) &&
((lo->region.w == 0) || (lo->region.h == 0)) &&
((lo->scale_load.dst_w == 0) || (lo->scale_load.dst_h == 0)) &&
(lo->orientation == 0)
))
{
lo = &prevent;