aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2008-03-01 22:30:51 +0000
committerKim F. Storm2008-03-01 22:30:51 +0000
commit98329671e24e9e3b37111f1f7c13479b667e6946 (patch)
treebb92bb4a33a3b7ce99cc2f822660e6d892615964 /src
parent4ddc7e301fe8a99966030850321b7ebc461d71d7 (diff)
downloademacs-98329671e24e9e3b37111f1f7c13479b667e6946.tar.gz
emacs-98329671e24e9e3b37111f1f7c13479b667e6946.zip
(CHAR_GLYPH_SPACE_P): Check for default face.
Diffstat (limited to 'src')
-rw-r--r--src/dispextern.h2
1 files changed, 1 insertions, 1 deletions
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
418/* Is GLYPH a space? */ 418/* Is GLYPH a space? */
419 419
420#define CHAR_GLYPH_SPACE_P(GLYPH) \ 420#define CHAR_GLYPH_SPACE_P(GLYPH) \
421 ((GLYPH).u.ch == SPACEGLYPH) 421 ((GLYPH).u.ch == SPACEGLYPH && (GLYPH).face_id == DEFAULT_FACE_ID)
422 422
423/* Are glyph slices of glyphs *X and *Y equal */ 423/* Are glyph slices of glyphs *X and *Y equal */
424 424