summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-08-14 09:41:48 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-08-14 09:41:48 +0400
commit02455cb66aa80f361bafada7b1286f2dd79739d1 (patch)
tree93a894a36309f4c1385c0ec28a26c2ce3c611ee4 /src/dispnew.c
parentda5707e8ec8df0a8a9bb1a1f12c6b701314845cc (diff)
* window.h (struct window): Convert window_end_pos and
window_end_vpos from Lisp_Object to ptrdiff_t and int, respectively. (wset_window_end_pos, wset_window_end_vpos): Remove. * dispnew.c (adjust_glyph_matrix): * window.c (Fwindow_end, replace_window, set_window_buffer) (make_window): * xdisp.c (check_window_end, move_it_to, redisplay_internal) (set_vertical_scroll_bar, redisplay_window, try_window) (try_window_reusing_current_matrix, find_first_unchanged_at_end_row) (try_window_id, decode_mode_spec, mouse_face_from_buffer_pos) (note_mouse_highlight): Adjust users. (try_cursor_movement): Likewise. Convert old precondition to eassert. Add comment.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 9b93a31e0b..b7e44e425b 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -598,8 +598,7 @@ adjust_glyph_matrix (struct window *w, struct glyph_matrix *matrix, int x, int y
/* Window end is invalid, if inside of the rows that
are invalidated below. */
- if (INTEGERP (w->window_end_vpos)
- && XFASTINT (w->window_end_vpos) >= i)
+ if (w->window_end_vpos >= i)
w->window_end_valid = 0;
while (i < matrix->nrows)