forked from enlightenment/efl
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:
parent
88da46d3f6
commit
b2165b8921
|
@ -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…
Reference in New Issue