aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
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)
10124 /* Move backward half the height of the window. */ 10124 /* Move backward half the height of the window. */
10125 init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); 10125 init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID);
10126 it.current_y = it.last_visible_y; 10126 it.current_y = it.last_visible_y;
10127 move_it_vertically_backward (&it, it.last_visible_y / 2); 10127 move_it_vertically_backward (&it, window_box_height (w) / 2);
10128 xassert (IT_CHARPOS (it) >= BEGV); 10128 xassert (IT_CHARPOS (it) >= BEGV);
10129 10129
10130 /* The function move_it_vertically_backward may move over more 10130 /* The function move_it_vertically_backward may move over more