# HG changeset patch # User Gerd Moellmann # Date 989586407 0 # Node ID 2a1bebae1d80cc6447a3534775a05dd6f4220a1d # Parent f15caf3bd39473f0e345332c548aa8a4d3208a00 (try_window_id): Fix the fix and set the right window_end_vpos. diff -r f15caf3bd394 -r 2a1bebae1d80 src/xdisp.c --- 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);