Mercurial > emacs
comparison src/xfaces.c @ 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 | b8ac36c58391 |
children | 8208dba7c326 |
comparison
equal
deleted
inserted
replaced
28543:fffea6f87a34 | 28544:b42146066357 |
---|---|
5794 abort (); | 5794 abort (); |
5795 | 5795 |
5796 /* Insert the new face. */ | 5796 /* Insert the new face. */ |
5797 cache_face (cache, face, lface_hash (attrs)); | 5797 cache_face (cache, face, lface_hash (attrs)); |
5798 #ifdef HAVE_WINDOW_SYSTEM | 5798 #ifdef HAVE_WINDOW_SYSTEM |
5799 if (FRAME_X_P (cache->f) && face->font == NULL) | 5799 if (FRAME_WINDOW_P (cache->f) && face->font == NULL) |
5800 load_face_font (cache->f, face, c); | 5800 load_face_font (cache->f, face, c); |
5801 #endif /* HAVE_WINDOW_SYSTEM */ | 5801 #endif /* HAVE_WINDOW_SYSTEM */ |
5802 return face; | 5802 return face; |
5803 } | 5803 } |
5804 | 5804 |