comparison src/xdisp.c @ 43212:ca5b214f4ed0

(display_mode_lines): Fix last change.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 09 Feb 2002 09:21:17 +0000
parents b3c0fc949524
children 44adb09256a5
comparison
equal deleted inserted replaced
43211:f067f447f348 43212:ca5b214f4ed0
13431 line_number_displayed = 0; 13431 line_number_displayed = 0;
13432 w->column_number_displayed = Qnil; 13432 w->column_number_displayed = Qnil;
13433 13433
13434 if (WINDOW_WANTS_MODELINE_P (w)) 13434 if (WINDOW_WANTS_MODELINE_P (w))
13435 { 13435 {
13436 struct window *old_w = XWINDOW (old_selected_window);
13437
13436 /* Select mode line face based on the real selected window. */ 13438 /* Select mode line face based on the real selected window. */
13437 display_mode_line (w, CURRENT_MODE_LINE_FACE_ID (old_selected_window), 13439 display_mode_line (w, CURRENT_MODE_LINE_FACE_ID (old_w),
13438 current_buffer->mode_line_format); 13440 current_buffer->mode_line_format);
13439 ++n; 13441 ++n;
13440 } 13442 }
13441 13443
13442 if (WINDOW_WANTS_HEADER_LINE_P (w)) 13444 if (WINDOW_WANTS_HEADER_LINE_P (w))