Evas text: fix text object size with empty texts.

@fix.
This commit is contained in:
Tom Hacohen 2014-08-11 13:33:12 +01:00
parent ff652084e0
commit c746d4b181
1 changed files with 1 additions and 1 deletions

View File

@ -1088,7 +1088,7 @@ _evas_text_vert_advance_get(Eo *eo_obj, Evas_Text_Data *o)
if (!o->font) return vert;
if (!o->items)
{
vert = o->ascent + o->descent;
vert = o->max_ascent + o->max_descent;
return vert;
}
vert = _evas_object_text_vert_advance_get(eo_obj, o);