From 2124dc82fe6ab5c48cf8ac78d0a93c7c0cb3ba60 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 9 Feb 2002 09:20:35 +0000 Subject: [PATCH] (CURRENT_MODE_LINE_FACE_ID): Fix last change. --- src/dispextern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2