Mercurial > emacs
changeset 37459:f56d9b9b3fac
(try_window_id): Fix a case where window_end_pos
and window_end_bytepos were not adjusted.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 25 Apr 2001 14:14:53 +0000 |
parents | 7dea8001633f |
children | f8a908ab7187 |
files | src/xdisp.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Wed Apr 25 13:53:40 2001 +0000 +++ b/src/xdisp.c Wed Apr 25 14:14:53 2001 +0000 @@ -11622,6 +11622,9 @@ break; w->window_end_vpos = make_number (vpos); + row = MATRIX_ROW (w->desired_matrix, vpos); + w->window_end_pos = make_number (Z - MATRIX_ROW_END_CHARPOS (row)); + w->window_end_bytepos = Z_BYTE - MATRIX_ROW_END_BYTEPOS (row); } else abort ();