Commit d365f5bb authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(x_produce_glyphs): Remove reference to struct it's

prompt_width.  Add extra line spacing.
parent 2efdbcdd
......@@ -1906,9 +1906,7 @@ x_produce_glyphs (it)
else if (it->char_to_display == '\t')
{
int tab_width = it->tab_width * CANON_X_UNIT (it->f);
int x = (it->current_x
- it->prompt_width
+ it->continuation_lines_width);
int x = it->current_x + it->continuation_lines_width;
int next_tab_x = ((1 + x + tab_width - 1) / tab_width) * tab_width;
it->pixel_width = next_tab_x - x;
......@@ -2231,6 +2229,8 @@ x_produce_glyphs (it)
if (it->area == TEXT_AREA)
it->current_x += it->pixel_width;
it->descent += it->extra_line_spacing;
it->max_ascent = max (it->max_ascent, it->ascent);
it->max_descent = max (it->max_descent, it->descent);
it->max_phys_ascent = max (it->max_phys_ascent, it->phys_ascent);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment