From: Kim F. Storm Date: Sat, 1 Mar 2008 22:30:51 +0000 (+0000) Subject: (CHAR_GLYPH_SPACE_P): Check for default face. X-Git-Tag: emacs-pretest-23.0.90~7525 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=98329671e24e9e3b37111f1f7c13479b667e6946;p=emacs.git (CHAR_GLYPH_SPACE_P): Check for default face. --- diff --git a/src/dispextern.h b/src/dispextern.h index f592d8752a7..8e8d8561984 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -418,7 +418,7 @@ struct glyph /* 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 */