diff options
| author | Jim Blandy | 1991-08-02 00:39:31 +0000 |
|---|---|---|
| committer | Jim Blandy | 1991-08-02 00:39:31 +0000 |
| commit | f7be7f78a51fbe2c9f6cfd559b47fd2d815b2756 (patch) | |
| tree | a0c48c6e82e959651b91b860a770ff0de4801fe2 /src | |
| parent | 3fc958a457c155b5975af0d940795fdb7b32e55a (diff) | |
| download | emacs-f7be7f78a51fbe2c9f6cfd559b47fd2d815b2756.tar.gz emacs-f7be7f78a51fbe2c9f6cfd559b47fd2d815b2756.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index ab0185a0789..0fd3e89ed58 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1036,7 +1036,7 @@ try_window_id (window) | |||
| 1036 | 1036 | ||
| 1037 | /* Find position before which nothing is changed. */ | 1037 | /* Find position before which nothing is changed. */ |
| 1038 | bp = *compute_motion (start, 0, lmargin, | 1038 | bp = *compute_motion (start, 0, lmargin, |
| 1039 | beg_unchanged + 1, 10000, 10000, width, hscroll, | 1039 | beg_unchanged + 1, height + 1, 0, width, hscroll, |
| 1040 | pos_tab_offset (w, start)); | 1040 | pos_tab_offset (w, start)); |
| 1041 | if (bp.vpos >= height) | 1041 | if (bp.vpos >= height) |
| 1042 | { | 1042 | { |
| @@ -1046,6 +1046,9 @@ try_window_id (window) | |||
| 1046 | We don't need to change the screen at all. | 1046 | We don't need to change the screen at all. |
| 1047 | But we need to update window_end_pos to account for | 1047 | But we need to update window_end_pos to account for |
| 1048 | any change in buffer size. */ | 1048 | any change in buffer size. */ |
| 1049 | bp = *compute_motion (start, 0, lmargin, | ||
| 1050 | Z, height, 0, | ||
| 1051 | width, hscroll, pos_tab_offset (w, start)); | ||
| 1049 | XFASTINT (w->window_end_vpos) = height; | 1052 | XFASTINT (w->window_end_vpos) = height; |
| 1050 | XFASTINT (w->window_end_pos) = Z - bp.bufpos; | 1053 | XFASTINT (w->window_end_pos) = Z - bp.bufpos; |
| 1051 | return 1; | 1054 | return 1; |