]> git.eshelyaron.com Git - emacs.git/commitdiff
(face_color_supported_p): Use HAVE_WINDOW_SYSTEM
authorEli Zaretskii <eliz@gnu.org>
Sat, 5 Feb 2005 12:14:45 +0000 (12:14 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 5 Feb 2005 12:14:45 +0000 (12:14 +0000)
instead of HAVE_X_WINDOWS, for non-X windowed sessions.

src/xfaces.c

index 3a63e128e4f13a195272681df0162259807e4067..c562ce3b5927d231a85d83ff6815dadbf6c16f0b 100644 (file)
@@ -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