Commit d88a79d4 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(try_window_id): Fix the fix and set the right

window_end_vpos.
parent 0416532f
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
......
......@@ -11707,7 +11707,7 @@ try_window_id (w)
}
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);
......
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