1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00

(realize_face): Change FRAME_X_P to FRAME_WINDOW_P.

This commit is contained in:
Jason Rumney 2000-04-10 14:32:11 +00:00
parent 7cf80d4efb
commit 192cb6cfa2

View File

@ -5796,7 +5796,7 @@ realize_face (cache, attrs, c, base_face, former_face_id)
/* Insert the new face. */ /* Insert the new face. */
cache_face (cache, face, lface_hash (attrs)); cache_face (cache, face, lface_hash (attrs));
#ifdef HAVE_WINDOW_SYSTEM #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); load_face_font (cache->f, face, c);
#endif /* HAVE_WINDOW_SYSTEM */ #endif /* HAVE_WINDOW_SYSTEM */
return face; return face;