and window_end_bytepos were not adjusted.
+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>
* xfaces.c (compute_char_face): If buffer is unibyte, set CH to
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 ();