aboutsummaryrefslogtreecommitdiffstats
path: root/src/xdisp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index d7db4039afa..90ed743460a 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -11304,6 +11304,7 @@ move_it_vertically_backward (struct it *it, int dy)
11304 int line_height; 11304 int line_height;
11305 11305
11306 RESTORE_IT (&it3, &it3, it3data); 11306 RESTORE_IT (&it3, &it3, it3data);
11307 last_height = 0;
11307 y1 = line_bottom_y (&it3); 11308 y1 = line_bottom_y (&it3);
11308 line_height = y1 - y0; 11309 line_height = y1 - y0;
11309 RESTORE_IT (it, it, it2data); 11310 RESTORE_IT (it, it, it2data);
@@ -21681,8 +21682,9 @@ try_window_reusing_current_matrix (struct window *w)
21681 return false; 21682 return false;
21682 21683
21683 /* If top-line visibility has changed, give up. */ 21684 /* If top-line visibility has changed, give up. */
21684 if (window_wants_tab_line (w) 21685 if (!w->current_matrix->header_line_p
21685 != MATRIX_TAB_LINE_ROW (w->current_matrix)->mode_line_p) 21686 && (window_wants_tab_line (w)
21687 != MATRIX_TAB_LINE_ROW (w->current_matrix)->mode_line_p))
21686 return false; 21688 return false;
21687 21689
21688 /* If top-line visibility has changed, give up. */ 21690 /* If top-line visibility has changed, give up. */