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
devs/bu5hm4n/header-build-test
Mike Blumenkrantz 4 years ago
parent 88da46d3f6
commit b2165b8921
  1. 2
      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;

Loading…
Cancel
Save