diff options
| author | Jim Blandy | 1993-05-23 19:23:38 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-23 19:23:38 +0000 |
| commit | 52b1821d1a35ce68b2ead7570d221d67176fa2db (patch) | |
| tree | 3b068b62658894d0389c469ff29a814ac74243c1 /src | |
| parent | ef7054f54204ea0dfad23dcbbf958e9e760308e1 (diff) | |
| download | emacs-52b1821d1a35ce68b2ead7570d221d67176fa2db.tar.gz emacs-52b1821d1a35ce68b2ead7570d221d67176fa2db.zip | |
* lisp.h (GLYPH_FACE): Remember that the face portion of a glyph
can be 24 bits, not just eight.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 06abaa128db..a41a73269e5 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -606,7 +606,7 @@ typedef unsigned char UCHAR; | |||
| 606 | #define GLYPH_CHAR(glyph) ((glyph) & 0xff) | 606 | #define GLYPH_CHAR(glyph) ((glyph) & 0xff) |
| 607 | 607 | ||
| 608 | /* Return a glyph's face ID. */ | 608 | /* Return a glyph's face ID. */ |
| 609 | #define GLYPH_FACE(glyph) (((glyph) >> 8) & 0xff) | 609 | #define GLYPH_FACE(glyph) (((glyph) >> 8) & ((1 << 24) - 1)) |
| 610 | 610 | ||
| 611 | 611 | ||
| 612 | /* Data type checking */ | 612 | /* Data type checking */ |