Commit a74eca50 authored by Gerd Moellmann's avatar Gerd Moellmann

(window_scroll_pixel_based): Adjust glyph matrices

when increasing window's vscroll.
parent a758f97d
......@@ -3995,10 +3995,13 @@ window_scroll_pixel_based (window, n, whole, noerror)
{
if (it.current_y + it.max_ascent + it.max_descent
> it.last_visible_y)
/* The last line was only partially visible, make it fully
visible. */
w->vscroll = (it.last_visible_y
- it.current_y + it.max_ascent + it.max_descent);
{
/* The last line was only partially visible, make it fully
visible. */
w->vscroll = (it.last_visible_y
- it.current_y + it.max_ascent + it.max_descent);
adjust_glyphs (it.f);
}
else if (noerror)
return;
else
......
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