changeset 77615:a76ca64a56e8

(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:26:41 +0000
parents ad1c819ae6c8
children ccefbcb4f56a
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sat Apr 28 22:27:58 2007 +0000
+++ b/src/xdisp.c	Sun Apr 29 07:26:41 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.  */