]> git.eshelyaron.com Git - emacs.git/commitdiff
(realize_face): Change FRAME_X_P to FRAME_WINDOW_P.
authorJason Rumney <jasonr@gnu.org>
Mon, 10 Apr 2000 14:32:11 +0000 (14:32 +0000)
committerJason Rumney <jasonr@gnu.org>
Mon, 10 Apr 2000 14:32:11 +0000 (14:32 +0000)
src/xfaces.c

index d775cc174c5609ca5f4f9ddbc095a646221a1479..999284192917b979136a6088249eec760323334d 100644 (file)
@@ -5796,7 +5796,7 @@ realize_face (cache, attrs, c, base_face, former_face_id)
   /* 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;