This caused some issues in some cases. Just switch continue with a goto to the end of the loop so we'll be able to calculate the sizes even when we don't need to format the format item.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@57081
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
else
{
Evas_Object_Textblock_Format_Item *fi = _ITEM_FORMAT(it);
- if (!fi->formatme) continue;
+ if (!fi->formatme) goto loop_advance;
fi->ascent = c->maxascent;
fi->descent = c->maxdescent;
/* Adjust sizes according to current line height/scale */
}
}
+loop_advance:
it->x = x;
x += it->adv;