aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 0fc387b8ffb..0e18c5adbc6 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2957,7 +2957,11 @@ init_iterator (struct it *it, struct window *w,
2957 else if (base_face_id == TAB_LINE_FACE_ID) 2957 else if (base_face_id == TAB_LINE_FACE_ID)
2958 row = MATRIX_TAB_LINE_ROW (w->desired_matrix); 2958 row = MATRIX_TAB_LINE_ROW (w->desired_matrix);
2959 else if (base_face_id == HEADER_LINE_FACE_ID) 2959 else if (base_face_id == HEADER_LINE_FACE_ID)
2960 row = MATRIX_HEADER_LINE_ROW (w->desired_matrix); 2960 {
2961 /* Header line row depends on whether tab line is enabled. */
2962 w->desired_matrix->tab_line_p = window_wants_tab_line (w);
2963 row = MATRIX_HEADER_LINE_ROW (w->desired_matrix);
2964 }
2961 } 2965 }
2962 2966
2963 /* Clear IT, and set it->object and other IT's Lisp objects to Qnil. 2967 /* Clear IT, and set it->object and other IT's Lisp objects to Qnil.