Mercurial > emacs
diff src/xdisp.c @ 6628:c359dfd21b00
(try_window_id): Pass new arg to scroll_frame_lines.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Fri, 01 Apr 1994 10:14:35 +0000 |
| parents | 1253ece9950b |
| children | cd036c4e1dfd |
line wrap: on
line diff
--- a/src/xdisp.c Fri Apr 01 10:13:32 1994 +0000 +++ b/src/xdisp.c Fri Apr 01 10:14:35 1994 +0000 @@ -1614,8 +1614,8 @@ following line from being overwritten by scrolling and therefore having to be redrawn. */ tem = scroll_frame_lines (f, bp.vpos + top - scroll_amount, - top + height - max (0, scroll_amount), - scroll_amount); + top + height - max (0, scroll_amount), + scroll_amount, bp.bufpos); if (!tem) stop_vpos = height; } else if (scroll_amount) @@ -1634,7 +1634,7 @@ return -2; tem = scroll_frame_lines (f, ep.vpos + top - scroll_amount, top + height - max (0, scroll_amount), - scroll_amount); + scroll_amount, ep.bufpos); if (!tem) stop_vpos = height; } }
