aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog8
-rw-r--r--src/xdisp.c4
2 files changed, 11 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 048eedf14fa..61598c01b0b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
12001-04-09 Gerd Moellmann <gerd@gnu.org>
2
3 * window.c (window_internal_height): Return 1 less if the
4 window has a header line.
5
6 * xdisp.c (try_window_id): When scrolling on a terminal, take
7 the change of window_internal_height into account.
8
12001-04-09 Eli Zaretskii <eliz@is.elta.co.il> 92001-04-09 Eli Zaretskii <eliz@is.elta.co.il>
2 10
3 * gmalloc.c (align): If the argument SIZE would overflow 11 * gmalloc.c (align): If the argument SIZE would overflow
diff --git a/src/xdisp.c b/src/xdisp.c
index 2a17d947216..61fb6334678 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -11428,7 +11428,9 @@ try_window_id (w)
11428 int first_unchanged_at_end_vpos 11428 int first_unchanged_at_end_vpos
11429 = MATRIX_ROW_VPOS (first_unchanged_at_end_row, w->current_matrix); 11429 = MATRIX_ROW_VPOS (first_unchanged_at_end_row, w->current_matrix);
11430 int from = XFASTINT (w->top) + first_unchanged_at_end_vpos; 11430 int from = XFASTINT (w->top) + first_unchanged_at_end_vpos;
11431 int end = XFASTINT (w->top) + window_internal_height (w); 11431 int end = (XFASTINT (w->top)
11432 + (WINDOW_WANTS_HEADER_LINE_P (w) ? 1 : 0)
11433 + window_internal_height (w));
11432 11434
11433 /* Perform the operation on the screen. */ 11435 /* Perform the operation on the screen. */
11434 if (dvpos > 0) 11436 if (dvpos > 0)