From d1cb44a4d6f9946a72f7555228c5f8c8487f15cf Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 1 Apr 1994 10:14:35 +0000 Subject: [PATCH] (try_window_id): Pass new arg to scroll_frame_lines. --- src/xdisp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } } -- 2.39.5