emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xfaces.c


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/xfaces.c
Date: Fri, 04 Jun 2004 11:58:23 -0400

Index: emacs/src/xfaces.c
diff -c emacs/src/xfaces.c:1.294 emacs/src/xfaces.c:1.295
*** emacs/src/xfaces.c:1.294    Fri Jun  4 06:00:59 2004
--- emacs/src/xfaces.c  Fri Jun  4 15:56:53 2004
***************
*** 5740,5745 ****
--- 5740,5746 ----
  
  #define TTY_SAME_COLOR_THRESHOLD  10000
  
+ #ifdef HAVE_WINDOW_SYSTEM
  
  /* Return non-zero if all the face attributes in ATTRS are supported
     on the window-system frame F.
***************
*** 5828,5833 ****
--- 5829,5835 ----
    return 1;
  }
  
+ #endif        /* HAVE_WINDOW_SYSTEM */
  
  /* Return non-zero if all the face attributes in ATTRS are supported
     on the tty frame F.
***************
*** 6042,6049 ****
--- 6044,6053 ----
    /* Dispatch to the appropriate handler.  */
    if (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f))
      supports = tty_supports_face_attributes_p (f, attrs);
+ #ifdef HAVE_WINDOW_SYSTEM
    else
      supports = x_supports_face_attributes_p (f, attrs);
+ #endif        /* HAVE_WINDOW_SYSTEM */
  
    return supports ? Qt : Qnil;
  }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]