aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispextern.h2
1 files changed, 1 insertions, 1 deletions
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;
927 This depends on whether the window is selected or not. */ 927 This depends on whether the window is selected or not. */
928 928
929#define CURRENT_MODE_LINE_FACE_ID(W) \ 929#define CURRENT_MODE_LINE_FACE_ID(W) \
930 ((W) == selected_window \ 930 ((W) == XWINDOW (selected_window) \
931 ? MODE_LINE_FACE_ID \ 931 ? MODE_LINE_FACE_ID \
932 : MODE_LINE_INACTIVE_FACE_ID) 932 : MODE_LINE_INACTIVE_FACE_ID)
933 933