diff options
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 | } |