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:
parent
ef7054f542
commit
52b1821d1a
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user