From: Eli Zaretskii Date: Sat, 9 Feb 2002 09:21:17 +0000 (+0000) Subject: (display_mode_lines): Fix last change. X-Git-Tag: ttn-vms-21-2-B4~16752 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f87c0a98c7ede0c976b5b72f899abef1c06567b1;p=emacs.git (display_mode_lines): Fix last change. --- diff --git a/src/xdisp.c b/src/xdisp.c index dff53b80b86..90c36e495a2 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13433,8 +13433,10 @@ display_mode_lines (w) if (WINDOW_WANTS_MODELINE_P (w)) { + struct window *old_w = XWINDOW (old_selected_window); + /* Select mode line face based on the real selected window. */ - display_mode_line (w, CURRENT_MODE_LINE_FACE_ID (old_selected_window), + display_mode_line (w, CURRENT_MODE_LINE_FACE_ID (old_w), current_buffer->mode_line_format); ++n; }