comparison src/xfaces.c @ 28349:26f2a2e9a2b5

(lookup_face): Don't assert FACE_SUITABLE_FOR_CHAR_P.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 27 Mar 2000 12:17:05 +0000
parents 73181b84ea57
children d6ae8188fa58
comparison
equal deleted inserted replaced
28348:9c49407e708e 28349:26f2a2e9a2b5
4832 if (face == NULL) 4832 if (face == NULL)
4833 face = realize_face (cache, attr, c, base_face, -1); 4833 face = realize_face (cache, attr, c, base_face, -1);
4834 4834
4835 #if GLYPH_DEBUG 4835 #if GLYPH_DEBUG
4836 xassert (face == FACE_FROM_ID (f, face->id)); 4836 xassert (face == FACE_FROM_ID (f, face->id));
4837 #if 0
4837 if (FRAME_WINDOW_P (f)) 4838 if (FRAME_WINDOW_P (f))
4838 xassert (FACE_SUITABLE_FOR_CHAR_P (face, c)); 4839 xassert (FACE_SUITABLE_FOR_CHAR_P (face, c));
4840 #endif
4839 #endif /* GLYPH_DEBUG */ 4841 #endif /* GLYPH_DEBUG */
4840 4842
4841 return face->id; 4843 return face->id;
4842 } 4844 }
4843 4845