From a985e8dbcb3765261539920ebba26e02fd56cb63 Mon Sep 17 00:00:00 2001 From: Wonki Kim Date: Fri, 15 Mar 2019 10:27:20 -0400 Subject: [PATCH] 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 Change-Id: Iab09f7d4bf782e50d1cd5c17a23f71f2b1ed5609 --- src/lib/elementary/elm_entry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c index 2351954..01c27fc 100644 --- a/src/lib/elementary/elm_entry.c +++ b/src/lib/elementary/elm_entry.c @@ -302,6 +302,7 @@ _load_do(Evas_Object *obj) default: text = NULL; + err = EINVAL; break; } if (fail) -- 2.7.4