mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-02 03:40:36 -08: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue