changeset 59924:3590dd3050ba

(face_color_supported_p): Use HAVE_WINDOW_SYSTEM instead of HAVE_X_WINDOWS, for non-X windowed sessions.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 05 Feb 2005 12:14:45 +0000
parents 615a90f44f52
children db86b31eb616
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Sat Feb 05 12:00:57 2005 +0000
+++ b/src/xfaces.c	Sat Feb 05 12:14:45 2005 +0000
@@ -1513,7 +1513,7 @@
 
   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