elm_entry: fix to return a error code if a argument is not valid

Summary:
if format is not specified, it should return some error code.
this is a kind of a patch to keep backward compatability of the api.

Reviewers: zmike, bu5hm4n

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8337
This commit is contained in:
Wonki Kim 2019-03-15 10:27:20 -04:00 committed by Mike Blumenkrantz
parent 4acc7e0667
commit dae881c9dc
1 changed files with 1 additions and 0 deletions

View File

@ -219,6 +219,7 @@ _load_do(Evas_Object *obj)
default:
text = NULL;
err = EINVAL;
break;
}
if (fail)