1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00

* lisp.h (GLYPH_FACE): Remember that the face portion of a glyph

can be 24 bits, not just eight.
This commit is contained in:
Jim Blandy 1993-05-23 19:23:38 +00:00
parent ef7054f542
commit 52b1821d1a

View File

@ -606,7 +606,7 @@ typedef unsigned char UCHAR;
#define GLYPH_CHAR(glyph) ((glyph) & 0xff)
/* Return a glyph's face ID. */
#define GLYPH_FACE(glyph) (((glyph) >> 8) & 0xff)
#define GLYPH_FACE(glyph) (((glyph) >> 8) & ((1 << 24) - 1))
/* Data type checking */