2001-05-11 Gerd Moellmann <gerd@gnu.org>
- * xdisp.c (try_window_id): Fix computation of window end in
- the case that lines were deleted at the end of the window.
- Add some more debug_method_adds.
+ * xdisp.c (try_window_id): Fix the fix and set the right
+ window_end_vpos.
+
+ * xdisp.c (try_window_id): Fix computation of window end in the
+ case that lines were deleted at the end of the window. Add some
+ more debug_method_adds.
* xfaces.c (try_alternative_families): New function.
(try_font_list): Use it. If ATTRS specifies a family, check
}
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);