From: Gerd Moellmann Date: Tue, 10 Apr 2001 15:40:40 +0000 (+0000) Subject: (redisplay_window) : Call window_box_height X-Git-Tag: emacs-pretest-21.0.103~243 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3a03001381fe4728b710de0b8f60026d648826d9;p=emacs.git (redisplay_window) : Call window_box_height instead of using it.last_visible_y for the height of the window. --- diff --git a/src/xdisp.c b/src/xdisp.c index 61fb6334678..216a271a5ec 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -10124,7 +10124,7 @@ redisplay_window (window, just_this_one_p) /* 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