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
This commit is contained in:
Mike Blumenkrantz 2019-09-26 17:59:38 -04:00
parent 88da46d3f6
commit b2165b8921
1 changed files with 1 additions and 1 deletions

View File

@ -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;