changeset 28544:b42146066357

(realize_face): Change FRAME_X_P to FRAME_WINDOW_P.
author Jason Rumney <jasonr@gnu.org>
date Mon, 10 Apr 2000 14:32:11 +0000
parents fffea6f87a34
children 19535c629080
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Mon Apr 10 14:29:12 2000 +0000
+++ b/src/xfaces.c	Mon Apr 10 14:32:11 2000 +0000
@@ -5796,7 +5796,7 @@
   /* Insert the new face.  */
   cache_face (cache, face, lface_hash (attrs));
 #ifdef HAVE_WINDOW_SYSTEM
-  if (FRAME_X_P (cache->f) && face->font == NULL)
+  if (FRAME_WINDOW_P (cache->f) && face->font == NULL)
     load_face_font (cache->f, face, c);
 #endif  /* HAVE_WINDOW_SYSTEM */
   return face;