diff options
| author | Richard M. Stallman | 1994-04-01 02:09:44 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-01 02:09:44 +0000 |
| commit | 46db8486643ce38a8324891763f4dfca8dcf2047 (patch) | |
| tree | 98a65cdb2eac014508e8f9b8457ba9473fe03186 /src | |
| parent | 28925d74e6f21eafd359b1f48490530f7e8c9c32 (diff) | |
| download | emacs-46db8486643ce38a8324891763f4dfca8dcf2047.tar.gz emacs-46db8486643ce38a8324891763f4dfca8dcf2047.zip | |
(redisplay): Call adjust_window_charstarts
to update the charstarts of following lines.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 7b50afa71b1..c537281fc17 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -623,6 +623,14 @@ redisplay () | |||
| 623 | if (cursor_vpos >= 0 && this_line_bufpos | 623 | if (cursor_vpos >= 0 && this_line_bufpos |
| 624 | && this_line_endpos == tlendpos) | 624 | && this_line_endpos == tlendpos) |
| 625 | { | 625 | { |
| 626 | int left = XFASTINT (w->left); | ||
| 627 | int *charstart_next_line | ||
| 628 | = FRAME_CURRENT_GLYPHS (XFRAME (WINDOW_FRAME (w)))->charstarts[this_line_vpos + 1]; | ||
| 629 | int adjust = Z - tlendpos + 1 - charstart_next_line[left]; | ||
| 630 | int i; | ||
| 631 | |||
| 632 | adjust_window_charstarts (w, this_line_vpos, adjust); | ||
| 633 | |||
| 626 | if (XFASTINT (w->width) != FRAME_WIDTH (XFRAME (WINDOW_FRAME (w)))) | 634 | if (XFASTINT (w->width) != FRAME_WIDTH (XFRAME (WINDOW_FRAME (w)))) |
| 627 | preserve_other_columns (w); | 635 | preserve_other_columns (w); |
| 628 | goto update; | 636 | goto update; |