Evas textblock: Fix it->x value during layout

This updates it->x when visiting each item in the line layout code,
as it was always 0, even when it was used during item rollback.
Fortunately, in the above case a 0 value was actually expected, so
this does not actually affect current behavior.

This fix is mainly for consistency and future development.
This commit is contained in:
Daniel Hirt 2015-06-29 13:21:55 +03:00
parent 0de8ebbb3a
commit 8202044890
1 changed files with 1 additions and 0 deletions

View File

@ -4854,6 +4854,7 @@ _layout_par(Ctxt *c)
continue;
}
it->x = c->x;
if (it->type == EVAS_TEXTBLOCK_ITEM_TEXT)
{
_layout_item_ascent_descent_adjust(c->obj, &c->ascent,