From 6a46b96b707e13ce5ab5b98ef1d23784b1794cd4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 5 Feb 2005 12:14:45 +0000 Subject: [PATCH] (face_color_supported_p): Use HAVE_WINDOW_SYSTEM instead of HAVE_X_WINDOWS, for non-X windowed sessions. --- src/xfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xfaces.c b/src/xfaces.c index 3a63e128e4f..c562ce3b592 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -1513,7 +1513,7 @@ face_color_supported_p (f, color_name, background_p) XSETFRAME (frame, f); return -#ifdef HAVE_X_WINDOWS +#ifdef HAVE_WINDOW_SYSTEM FRAME_WINDOW_P (f) ? (!NILP (Fxw_display_color_p (frame)) || xstricmp (color_name, "black") == 0 -- 2.39.5