diff options
author | Kenichi Handa <handa@m17n.org> | 2000-03-30 01:12:14 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2000-03-30 01:12:14 +0000 |
commit | d2ff77dab1e5cb6393a57eb43f208c3377ecbf13 (patch) | |
tree | f4d1e983bdc25e5bc99e7f788203200310635e22 | |
parent | 6702eacee0f6cbd77e46b5aea9779ef3c7296677 (diff) | |
download | emacs-d2ff77dab1e5cb6393a57eb43f208c3377ecbf13.tar.gz |
*** empty log message ***
-rw-r--r-- | src/xfaces.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index a0172ccda4b..e0a4ca193df 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -4864,13 +4864,7 @@ uncache_face (c, face) of frame F. The face will be used to display character C. Value is the ID of the face found. If no suitable face is found, realize a new one. In that case, if C is a multibyte character, BASE_FACE - is a face for ASCII characters that has the same attributes. - - When this function is called from face_for_char (in this case, C is - a multibyte character), a fontset of a face returned by - realize_face is not yet set, i.e. FACE_SUITABLE_FOR_CHAR_P (FACE, - C) is not sutisfied. The fontset is set for this face by - face_for_char later. */ + is a face for ASCII characters that has the same attributes. */ INLINE int lookup_face (f, attr, c, base_face) @@ -4904,6 +4898,12 @@ lookup_face (f, attr, c, base_face) #if GLYPH_DEBUG xassert (face == FACE_FROM_ID (f, face->id)); + +/* When this function is called from face_for_char (in this case, C is + a multibyte character), a fontset of a face returned by + realize_face is not yet set, i.e. FACE_SUITABLE_FOR_CHAR_P (FACE, + C) is not sutisfied. The fontset is set for this face by + face_for_char later. */ #if 0 if (FRAME_WINDOW_P (f)) xassert (FACE_SUITABLE_FOR_CHAR_P (face, c)); |