]> git.eshelyaron.com Git - emacs.git/commitdiff
(redisplay_window): Fix one-off in handling
authorRichard M. Stallman <rms@gnu.org>
Fri, 1 Aug 1997 00:12:35 +0000 (00:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 1 Aug 1997 00:12:35 +0000 (00:12 +0000)
scroll-conservatively for scrolling up.

src/xdisp.c

index c0b94ccaf8bd2940807f77bb5f29fe8d338b80c6..2dbadcaba621e094d0801fb013b0a653635e5526 100644 (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);