From: Richard M. Stallman Date: Fri, 1 Apr 1994 10:14:35 +0000 (+0000) Subject: (try_window_id): Pass new arg to scroll_frame_lines. X-Git-Tag: emacs-19.34~9224 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d1cb44a4d6f9946a72f7555228c5f8c8487f15cf;p=emacs.git (try_window_id): Pass new arg to scroll_frame_lines. --- diff --git a/src/xdisp.c b/src/xdisp.c index cc3df113278..b288c8a6f10 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1614,8 +1614,8 @@ try_window_id (window) 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 @@ try_window_id (window) 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; } }