aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfaces.c
diff options
context:
space:
mode:
authorJason Rumney <[email protected]>2000-04-10 14:32:11 +0000
committerJason Rumney <[email protected]>2000-04-10 14:32:11 +0000
commit192cb6cfa231885b76bc926266c50340a64f85e7 (patch)
treee82f9c21909cdd0f78122306e54801b2f42aea8f /src/xfaces.c
parent7cf80d4efb58d0a0f2f84ab11fb573d7ac415428 (diff)
(realize_face): Change FRAME_X_P to FRAME_WINDOW_P.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r--src/xfaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index d775cc174c..9992841929 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -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;