diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-09-26 17:59:38 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-09-26 17:59:38 -0400 |
commit | b2165b89217829bf7350b3fa69e320128228a265 (patch) | |
tree | 2dd55709525f4233d48b5b66fd720c8071587780 /src/bin | |
parent | 88da46d3f60eda86adf2123743187236f814f867 (diff) | |
download | efl-b2165b89217829bf7350b3fa69e320128228a265.tar.gz |
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
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/ecore_evas/ecore_evas_convert.c | 2 |
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) const char *output = job.output; job.ret = 0; - if (width || height) + if (width && height) { Eina_Slstr *str; |