From: Eli Zaretskii Date: Sat, 9 Feb 2002 09:20:35 +0000 (+0000) Subject: (CURRENT_MODE_LINE_FACE_ID): Fix last change. X-Git-Tag: ttn-vms-21-2-B4~16753 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2124dc82fe6ab5c48cf8ac78d0a93c7c0cb3ba60;p=emacs.git (CURRENT_MODE_LINE_FACE_ID): Fix last change. --- diff --git a/src/dispextern.h b/src/dispextern.h index 36342f7265d..51da4ae0fff 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -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)