# HG changeset patch # User Gerd Moellmann # Date 986917240 0 # Node ID 600d4fa98eb19d01948f8068aec8ed17bc2d094c # Parent 8381b1ef7f3a4e9f998c0cf940464211599eb664 (redisplay_window) : Call window_box_height instead of using it.last_visible_y for the height of the window. diff -r 8381b1ef7f3a -r 600d4fa98eb1 src/xdisp.c --- a/src/xdisp.c Tue Apr 10 15:39:53 2001 +0000 +++ b/src/xdisp.c Tue Apr 10 15:40:40 2001 +0000 @@ -10124,7 +10124,7 @@ /* Move backward half the height of the window. */ init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); it.current_y = it.last_visible_y; - move_it_vertically_backward (&it, it.last_visible_y / 2); + move_it_vertically_backward (&it, window_box_height (w) / 2); xassert (IT_CHARPOS (it) >= BEGV); /* The function move_it_vertically_backward may move over more