Mercurial > emacs
changeset 92393:26aa5e50effb
(CHAR_GLYPH_SPACE_P): Check for default face.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sat, 01 Mar 2008 22:30:51 +0000 |
parents | 7358c7ff5e83 |
children | 7701acfc2ec5 |
files | src/dispextern.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispextern.h Sat Mar 01 22:30:25 2008 +0000 +++ b/src/dispextern.h Sat Mar 01 22:30:51 2008 +0000 @@ -418,7 +418,7 @@ /* Is GLYPH a space? */ #define CHAR_GLYPH_SPACE_P(GLYPH) \ - ((GLYPH).u.ch == SPACEGLYPH) + ((GLYPH).u.ch == SPACEGLYPH && (GLYPH).face_id == DEFAULT_FACE_ID) /* Are glyph slices of glyphs *X and *Y equal */