Commit 52b1821d authored by Jim Blandy's avatar Jim Blandy
Browse files

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

	can be 24 bits, not just eight.
parent ef7054f5
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment