diff options
| author | Richard M. Stallman | 1994-04-01 10:14:35 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-01 10:14:35 +0000 |
| commit | d1cb44a4d6f9946a72f7555228c5f8c8487f15cf (patch) | |
| tree | 272f5f3fd283b6771f4f9aa3b4ac3575887fb831 /src | |
| parent | d52bad6588c2f50936f2fc210ea2af78f7631281 (diff) | |
| download | emacs-d1cb44a4d6f9946a72f7555228c5f8c8487f15cf.tar.gz emacs-d1cb44a4d6f9946a72f7555228c5f8c8487f15cf.zip | |
(try_window_id): Pass new arg to scroll_frame_lines.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 6 |
1 files 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) | |||
| 1614 | following line from being overwritten by scrolling | 1614 | following line from being overwritten by scrolling |
| 1615 | and therefore having to be redrawn. */ | 1615 | and therefore having to be redrawn. */ |
| 1616 | tem = scroll_frame_lines (f, bp.vpos + top - scroll_amount, | 1616 | tem = scroll_frame_lines (f, bp.vpos + top - scroll_amount, |
| 1617 | top + height - max (0, scroll_amount), | 1617 | top + height - max (0, scroll_amount), |
| 1618 | scroll_amount); | 1618 | scroll_amount, bp.bufpos); |
| 1619 | if (!tem) stop_vpos = height; | 1619 | if (!tem) stop_vpos = height; |
| 1620 | } | 1620 | } |
| 1621 | else if (scroll_amount) | 1621 | else if (scroll_amount) |
| @@ -1634,7 +1634,7 @@ try_window_id (window) | |||
| 1634 | return -2; | 1634 | return -2; |
| 1635 | tem = scroll_frame_lines (f, ep.vpos + top - scroll_amount, | 1635 | tem = scroll_frame_lines (f, ep.vpos + top - scroll_amount, |
| 1636 | top + height - max (0, scroll_amount), | 1636 | top + height - max (0, scroll_amount), |
| 1637 | scroll_amount); | 1637 | scroll_amount, ep.bufpos); |
| 1638 | if (!tem) stop_vpos = height; | 1638 | if (!tem) stop_vpos = height; |
| 1639 | } | 1639 | } |
| 1640 | } | 1640 | } |