changeset 80825:8d02a642ea06

(try_window_reusing_current_matrix): Fix number of disabled lines.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Sun, 29 Apr 2007 07:25:35 +0000
parents 545d21ef587f
children 37bb72df943a
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sun Apr 29 01:04:39 2007 +0000
+++ b/src/xdisp.c	Sun Apr 29 07:25:35 2007 +0000
@@ -13811,7 +13811,7 @@
 			 nrows_scrolled);
 
 	  /* Disable lines that must be updated.  */
-	  for (i = 0; i < it.vpos; ++i)
+	  for (i = 0; i < nrows_scrolled; ++i)
 	    (start_row + i)->enabled_p = 0;
 
 	  /* Re-compute Y positions.  */