Evas textblock: Cleaned code up a bit.

SVN revision: 58395
This commit is contained in:
Tom Hacohen 2011-04-06 15:51:14 +00:00
parent ca7ff47005
commit 2702074e76
1 changed files with 1 additions and 3 deletions

View File

@ -3600,10 +3600,8 @@ _layout(const Evas_Object *obj, int calc_only, int w, int h, int *w_ret, int *h_
/* Start of visual layout creation */
/* FIXME: move away? */
{
Evas_Object_Textblock_Paragraph *par;
EINA_INLIST_FOREACH(c->paragraphs, par)
EINA_INLIST_FOREACH(c->paragraphs, c->par)
{
c->par = par;
_layout_update_par(c);
/* Break if we should stop here. */
if (_layout_visualize_par(c))