changeset 37683:2a1bebae1d80

(try_window_id): Fix the fix and set the right window_end_vpos.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 11 May 2001 13:06:47 +0000
parents f15caf3bd394
children 60dce3e9a7e4
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Fri May 11 12:57:41 2001 +0000
+++ b/src/xdisp.c	Fri May 11 13:06:47 2001 +0000
@@ -11707,7 +11707,7 @@
 	}
 
       xassert (row != NULL);
-      w->window_end_vpos = make_number (vpos);
+      w->window_end_vpos = make_number (vpos + 1);
       w->window_end_pos = make_number (Z - MATRIX_ROW_END_CHARPOS (row));
       w->window_end_bytepos = Z_BYTE - MATRIX_ROW_END_BYTEPOS (row);
       xassert (w->window_end_bytepos >= 0);