changeset 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 95799f3353e7
children 501e704b34bc
files src/window.c
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
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