From 2e5a663126a0260f5a8bb9d12b8c02c3745ea94b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 29 Jun 2012 21:52:54 +0300 Subject: Undo change in xdisp.c in 2012-06-29T11:48:08Z!dmantipov@yandex.ru. src/xdisp.c (try_window_id): Undo last change. 'int' is wide enough to hold vertical pixel positions on screen. --- src/xdisp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xdisp.c') diff --git a/src/xdisp.c b/src/xdisp.c index 0b1012990d..ae06355ac6 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -17761,8 +17761,8 @@ try_window_id (struct window *w) { /* Displayed to end of window, but no line containing text was displayed. Lines were deleted at the end of the window. */ - ptrdiff_t first_vpos = WINDOW_WANTS_HEADER_LINE_P (w) ? 1 : 0; - ptrdiff_t vpos = XFASTINT (w->window_end_vpos); + int first_vpos = WINDOW_WANTS_HEADER_LINE_P (w) ? 1 : 0; + int vpos = XFASTINT (w->window_end_vpos); struct glyph_row *current_row = current_matrix->rows + vpos; struct glyph_row *desired_row = desired_matrix->rows + vpos; -- cgit v1.2.3