1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00

(redisplay_window): Fix one-off in handling

scroll-conservatively for scrolling up.
This commit is contained in:
Richard M. Stallman 1997-08-01 00:12:35 +00:00
parent 536f4067ef
commit 52bc762447

View file

@ -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);