Mercurial > emacs
changeset 371:54ac13a6f74e
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Fri, 02 Aug 1991 00:39:31 +0000 |
parents | d56e16bd220a |
children | 481e29c1e27e |
files | src/xdisp.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Thu Aug 01 18:50:36 1991 +0000 +++ b/src/xdisp.c Fri Aug 02 00:39:31 1991 +0000 @@ -1036,7 +1036,7 @@ /* Find position before which nothing is changed. */ bp = *compute_motion (start, 0, lmargin, - beg_unchanged + 1, 10000, 10000, width, hscroll, + beg_unchanged + 1, height + 1, 0, width, hscroll, pos_tab_offset (w, start)); if (bp.vpos >= height) { @@ -1046,6 +1046,9 @@ We don't need to change the screen at all. But we need to update window_end_pos to account for any change in buffer size. */ + bp = *compute_motion (start, 0, lmargin, + Z, height, 0, + width, hscroll, pos_tab_offset (w, start)); XFASTINT (w->window_end_vpos) = height; XFASTINT (w->window_end_pos) = Z - bp.bufpos; return 1;