From 52b1821d1a35ce68b2ead7570d221d67176fa2db Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 23 May 1993 19:23:38 +0000 Subject: [PATCH] * lisp.h (GLYPH_FACE): Remember that the face portion of a glyph can be 24 bits, not just eight. --- src/lisp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; #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 */