summaryrefslogtreecommitdiff
path: root/src/bin/evas/evas_cserve2_shm_debug.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-12-20 14:53:32 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-12-20 16:39:30 -0800
commit233cb77c1e8c86052cd450ae37579d85b65181a0 (patch)
tree7cc598e20516336a37bc1acf2a3e4caeb70a46e2 /src/bin/evas/evas_cserve2_shm_debug.c
parentfb418debc3a87fb9361d48f7ade10fe0e589e92d (diff)
evas_cserve2: fix float comparison warning.
Diffstat (limited to 'src/bin/evas/evas_cserve2_shm_debug.c')
-rw-r--r--src/bin/evas/evas_cserve2_shm_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/evas/evas_cserve2_shm_debug.c b/src/bin/evas/evas_cserve2_shm_debug.c
index 341d8edd9f..f3689869f6 100644
--- a/src/bin/evas/evas_cserve2_shm_debug.c
+++ b/src/bin/evas/evas_cserve2_shm_debug.c
@@ -431,7 +431,7 @@ _files_all_print_all(void)
431 _shared_string_get(fd->path), _shared_string_get(fd->key)); 431 _shared_string_get(fd->path), _shared_string_get(fd->key));
432 printf("LoadOpts: Region: %d,%d-%dx%d\n", 432 printf("LoadOpts: Region: %d,%d-%dx%d\n",
433 fd->lo.region.x, fd->lo.region.y, fd->lo.region.w, fd->lo.region.h); 433 fd->lo.region.x, fd->lo.region.y, fd->lo.region.w, fd->lo.region.h);
434 if (fd->lo.dpi != 0) 434 if (!EINA_DBL_CMP(fd->lo.dpi, 0))
435 printf(" DPI: %f\n"); 435 printf(" DPI: %f\n");
436 else 436 else
437 printf(" DPI: 0\n"); 437 printf(" DPI: 0\n");
@@ -519,7 +519,7 @@ _images_all_print_full(void)
519 printf(" height %d\n", id->opts.h); 519 printf(" height %d\n", id->opts.h);
520 printf(" degree %d\n", id->opts.degree); 520 printf(" degree %d\n", id->opts.degree);
521 printf(" scale_down_by %d\n", id->opts.scale_down_by); 521 printf(" scale_down_by %d\n", id->opts.scale_down_by);
522 if (id->opts.dpi) 522 if (!EINA_DBL_CMP(id->opts.dpi, 0.0))
523 printf(" dpi %.2f\n", id->opts.dpi); 523 printf(" dpi %.2f\n", id->opts.dpi);
524 else 524 else
525 printf(" dpi 0\n"); 525 printf(" dpi 0\n");