changeset 43212:ca5b214f4ed0

(display_mode_lines): Fix last change.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 09 Feb 2002 09:21:17 +0000
parents f067f447f348
children 03de2881ebbb
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sat Feb 09 09:20:35 2002 +0000
+++ b/src/xdisp.c	Sat Feb 09 09:21:17 2002 +0000
@@ -13433,8 +13433,10 @@
 
   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;
     }