git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59870
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
it->x = x;
x += it->adv;
- if ((it->x + it->w) > c->ln->w) c->ln->w = it->x + it->w;
+ if ((it->x + it->adv) > c->ln->w) c->ln->w = it->x + it->adv;
}
c->ln->y = (c->y - c->par->y) + c->o->style_pad.t;
/* Check if we need to wrap, i.e the text is bigger than the width,
or we already found a wrap point. */
if ((c->w >= 0) &&
- (((c->x + it->w) >
+ (((c->x + it->adv) >
(c->w - c->o->style_pad.l - c->o->style_pad.r -
c->marginl - c->marginr)) || (wrap > 0)))
{