Commit 100b593b authored by Gerd Moellmann's avatar Gerd Moellmann

(pos_visible_p): Compute the default character height

differently.
parent 96403ac1
2000-11-17 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (pos_visible_p): Compute the default character height
differently.
2000-11-16 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (pos_visible_p): Handle case that we reach ZV without
......
......@@ -1002,8 +1002,15 @@ pos_visible_p (w, charpos, fully, exact_mode_line_heights_p)
? it.max_ascent + it.max_descent
: last_height);
}
else
line_height = FONT_HEIGHT (FRAME_FONT (XFRAME (w->frame)));
else
{
/* Use the default character height. */
it.what = IT_CHARACTER;
it.c = ' ';
it.len = 1;
PRODUCE_GLYPHS (&it);
line_height = it.ascent + it.descent;
}
}
line_bottom_y = line_top_y + line_height;
......
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