changeset 43574:b14fc05f010f

(CURRENT_MODE_LINE_FACE_ID_3): Compare with Vminibuf_selected_window instead of Vminibuf_scroll_window.
author Kim F. Storm <storm@cua.dk>
date Tue, 26 Feb 2002 22:53:47 +0000
parents 3d6e86e8823b
children 250eb7f4849d
files src/dispextern.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispextern.h	Tue Feb 26 22:52:56 2002 +0000
+++ b/src/dispextern.h	Tue Feb 26 22:53:47 2002 +0000
@@ -931,15 +931,15 @@
    selected_window, this macro needs three arguments: SELW which is
    compared against the current value of selected_window, MBW which is
    compared against minibuf_window (if SELW doesn't match), and SCRW
-   which is compared against Vminibuf_scroll_window (if MBW matches).  */
+   which is compared against Vminibuf_selected_window (if MBW matches).  */
 
 #define CURRENT_MODE_LINE_FACE_ID_3(SELW, MBW, SCRW)		\
      ((!mode_line_in_non_selected_windows			\
        || (SELW) == XWINDOW (selected_window)			\
        || (minibuf_level > 0					\
-           && !NILP (Vminibuf_scroll_window)			\
+           && !NILP (Vminibuf_selected_window)			\
            && (MBW) == XWINDOW (minibuf_window)			\
-           && (SCRW) == XWINDOW (Vminibuf_scroll_window)))	\
+           && (SCRW) == XWINDOW (Vminibuf_selected_window)))	\
       ? MODE_LINE_FACE_ID					\
       : MODE_LINE_INACTIVE_FACE_ID)