summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-08-01 00:12:35 +0000
committerRichard M. Stallman <rms@gnu.org>1997-08-01 00:12:35 +0000
commit32681bf819a64f607aade503a425e0fd537c4c7c (patch)
treed95e9f5e8f1365eb53435f267cae77353eefec5c
parent11eff5f476bf9eda2b50c170cfa5e6415fedb06f (diff)
downloademacs-32681bf819a64f607aade503a425e0fd537c4c7c.tar.gz
(redisplay_window): Fix one-off in handling
scroll-conservatively for scrolling up.
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
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);