]> git.eshelyaron.com Git - emacs.git/commitdiff
(CURRENT_MODE_LINE_FACE_ID): Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Sat, 9 Feb 2002 09:20:35 +0000 (09:20 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 9 Feb 2002 09:20:35 +0000 (09:20 +0000)
src/dispextern.h

index 36342f7265d9596b9dd26a6058b41b5719e7c47b..51da4ae0fff4b7dd0f7d45d687a67b3046337ad1 100644 (file)
@@ -927,7 +927,7 @@ extern struct glyph_row scratch_glyph_row;
    This depends on whether the window is selected or not.  */
 
 #define CURRENT_MODE_LINE_FACE_ID(W)           \
-     ((W) == selected_window                   \
+     ((W) == XWINDOW (selected_window)         \
       ? MODE_LINE_FACE_ID                      \
       : MODE_LINE_INACTIVE_FACE_ID)