Evas textblock: Fixed linegap.

SVN revision: 61438
This commit is contained in:
Tom Hacohen 2011-07-17 10:48:05 +00:00
parent 5501f844d3
commit 6898c688f2
1 changed files with 2 additions and 2 deletions

View File

@ -1783,8 +1783,8 @@ _layout_format_ascent_descent_adjust(const Evas_Object *obj,
descent = descent * fmt->linerelsize;
ascent = ascent * fmt->linerelsize;
}
*maxdescent += fmt->linegap;
*maxdescent += ((ascent + descent) * fmt->linerelgap);
descent += fmt->linegap;
descent += ((ascent + descent) * fmt->linerelgap);
if (*maxascent < ascent) *maxascent = ascent;
if (*maxdescent < descent) *maxdescent = descent;
if (fmt->linefill > 0.0)