Evas textblock: Fixed a major bug. Forgot recreating a layout paragraph.

We should create a layout paragraph when it's a new paragraph and when
we removed the previous one that was there because we wanted to
remake it. Forgot adding a paragraph in the second case.

SVN revision: 58454
This commit is contained in:
Tom Hacohen 2011-04-07 13:40:42 +00:00
parent f44f44e024
commit a855dd9ac0
1 changed files with 2 additions and 5 deletions

View File

@ -3555,11 +3555,8 @@ _layout(const Evas_Object *obj, int calc_only, int w, int h, int *w_ret, int *h_
continue;
}
}
else
{
/* If it's a new paragraph, just add it. */
_layout_paragraph_new(c, n, EINA_FALSE);
}
/* If it's a new paragraph, just add it. */
_layout_paragraph_new(c, n, EINA_FALSE);
/* For each text node to thorugh all of it's format nodes
* append text from the start to the offset of the next format