From: Richard M. Stallman Date: Fri, 1 Aug 1997 00:12:35 +0000 (+0000) Subject: (redisplay_window): Fix one-off in handling X-Git-Tag: emacs-20.1~885 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=52bc76244757ef02c800388cdc9122fc5c2b1d00;p=emacs.git (redisplay_window): Fix one-off in handling scroll-conservatively for scrolling up. --- 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);