diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 8b026fefa9e..4a32cea2b6e 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -2201,6 +2201,7 @@ start_display (it, w, pos) | |||
| 2201 | 2201 | ||
| 2202 | row = w->desired_matrix->rows + first_vpos; | 2202 | row = w->desired_matrix->rows + first_vpos; |
| 2203 | init_iterator (it, w, CHARPOS (pos), BYTEPOS (pos), row, DEFAULT_FACE_ID); | 2203 | init_iterator (it, w, CHARPOS (pos), BYTEPOS (pos), row, DEFAULT_FACE_ID); |
| 2204 | it->first_vpos = first_vpos; | ||
| 2204 | 2205 | ||
| 2205 | if (!it->truncate_lines_p) | 2206 | if (!it->truncate_lines_p) |
| 2206 | { | 2207 | { |
| @@ -13092,8 +13093,9 @@ try_window_id (w) | |||
| 13092 | else | 13093 | else |
| 13093 | { | 13094 | { |
| 13094 | /* There are no reusable lines at the start of the window. | 13095 | /* There are no reusable lines at the start of the window. |
| 13095 | Start displaying in the first line. */ | 13096 | Start displaying in the first text line. */ |
| 13096 | start_display (&it, w, start); | 13097 | start_display (&it, w, start); |
| 13098 | it.vpos = it.first_vpos; | ||
| 13097 | start_pos = it.current.pos; | 13099 | start_pos = it.current.pos; |
| 13098 | } | 13100 | } |
| 13099 | 13101 | ||