Commit 8c56a983 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(try_window_id): Fix a case where window_end_pos

and window_end_bytepos were not adjusted.
parent 3ae14dd9
2001-04-25 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (try_window_id): Fix a case where window_end_pos
and window_end_bytepos were not adjusted.
2001-04-23 Gerd Moellmann <gerd@gnu.org> 2001-04-23 Gerd Moellmann <gerd@gnu.org>
* xfaces.c (compute_char_face): If buffer is unibyte, set CH to * xfaces.c (compute_char_face): If buffer is unibyte, set CH to
......
...@@ -11622,6 +11622,9 @@ try_window_id (w) ...@@ -11622,6 +11622,9 @@ try_window_id (w)
break; break;
w->window_end_vpos = make_number (vpos); 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 else
abort (); abort ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment