forked from enlightenment/efl
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:
parent
4acc7e0667
commit
dae881c9dc
|
@ -219,6 +219,7 @@ _load_do(Evas_Object *obj)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
text = NULL;
|
text = NULL;
|
||||||
|
err = EINVAL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (fail)
|
if (fail)
|
||||||
|
|
Loading…
Reference in New Issue