and optimise getting stripped version
SVN revision: 45834
This commit is contained in:
parent
1b3cb72426
commit
5bdddad833
|
@ -1235,6 +1235,8 @@ elm_entry_entry_get(const Evas_Object *obj)
|
|||
if (!wd) return NULL;
|
||||
// Strip ending <br> that is added by the textblock
|
||||
// need to check if <br> is present? seems it is always there
|
||||
if (wd->stripped) return wd->stripped;
|
||||
|
||||
text = edje_object_part_text_get(wd->ent, "elm.text");
|
||||
if (text) s = eina_stringshare_add_length(text, strlen(text) - 4);
|
||||
if (wd->stripped) eina_stringshare_del(wd->stripped);
|
||||
|
|
Loading…
Reference in New Issue