Commit d1cb44a4 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(try_window_id): Pass new arg to scroll_frame_lines.

parent d52bad65
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment