diff src/window.c @ 35126:67fa29af4c7b

(window_scroll_pixel_based): Adjust glyph matrices when increasing window's vscroll.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 08 Jan 2001 14:37:40 +0000
parents ac8eb6b4eee6
children f3eb82d93802
line wrap: on
line diff
--- a/src/window.c	Mon Jan 08 13:19:18 2001 +0000
+++ b/src/window.c	Mon Jan 08 14:37:40 2001 +0000
@@ -3995,10 +3995,13 @@
 	{
 	  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