From 192cb6cfa231885b76bc926266c50340a64f85e7 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Mon, 10 Apr 2000 14:32:11 +0000 Subject: [PATCH] (realize_face): Change FRAME_X_P to FRAME_WINDOW_P. --- src/xfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xfaces.c b/src/xfaces.c index d775cc174c5..99928419291 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; -- 2.39.5