From 52bc76244757ef02c800388cdc9122fc5c2b1d00 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 1 Aug 1997 00:12:35 +0000 Subject: [PATCH] (redisplay_window): Fix one-off in handling scroll-conservatively for scrolling up. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index c0b94ccaf8b..2dbadcaba62 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -2033,7 +2033,7 @@ redisplay_window (window, just_this_one, preserve_echo_area) startp, XFASTINT (w->height), 0, XFASTINT (w->width), XFASTINT (w->hscroll), pos_tab_offset (w, startp), w); - if (pos.vpos >= scroll_conservatively) + if (pos.vpos > scroll_conservatively) goto scroll_fail_1; pos = *vmotion (startp, - pos.vpos - this_scroll_margin, w); -- 2.39.2