aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-08-01 00:12:35 +0000
committerRichard M. Stallman1997-08-01 00:12:35 +0000
commit52bc76244757ef02c800388cdc9122fc5c2b1d00 (patch)
treeef271fb508adb623b48bb7b204bd6474a1677641
parent536f4067ef9d74f728aeaed816c5487954d7f283 (diff)
downloademacs-52bc76244757ef02c800388cdc9122fc5c2b1d00.tar.gz
emacs-52bc76244757ef02c800388cdc9122fc5c2b1d00.zip
(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)
2033 startp, XFASTINT (w->height), 0, 2033 startp, XFASTINT (w->height), 0,
2034 XFASTINT (w->width), XFASTINT (w->hscroll), 2034 XFASTINT (w->width), XFASTINT (w->hscroll),
2035 pos_tab_offset (w, startp), w); 2035 pos_tab_offset (w, startp), w);
2036 if (pos.vpos >= scroll_conservatively) 2036 if (pos.vpos > scroll_conservatively)
2037 goto scroll_fail_1; 2037 goto scroll_fail_1;
2038 2038
2039 pos = *vmotion (startp, - pos.vpos - this_scroll_margin, w); 2039 pos = *vmotion (startp, - pos.vpos - this_scroll_margin, w);