summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-26 17:59:38 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-09-26 17:59:38 -0400
commitb2165b89217829bf7350b3fa69e320128228a265 (patch)
tree2dd55709525f4233d48b5b66fd720c8071587780
parent88da46d3f60eda86adf2123743187236f814f867 (diff)
ecore_evas/convert: fix div by zero
Summary: if one is 0, the printf line will divide by it CID 1403900 Depends on D10206 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10207
-rw-r--r--src/bin/ecore_evas/ecore_evas_convert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/ecore_evas/ecore_evas_convert.c b/src/bin/ecore_evas/ecore_evas_convert.c
index 2cddad1052..4ec1cabbf1 100644
--- a/src/bin/ecore_evas/ecore_evas_convert.c
+++ b/src/bin/ecore_evas/ecore_evas_convert.c
@@ -58,7 +58,7 @@ _save_do(void *data EINA_UNUSED)
58 const char *output = job.output; 58 const char *output = job.output;
59 59
60 job.ret = 0; 60 job.ret = 0;
61 if (width || height) 61 if (width && height)
62 { 62 {
63 Eina_Slstr *str; 63 Eina_Slstr *str;
64 64