summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-05-23 19:23:38 +0000
committerJim Blandy <jimb@redhat.com>1993-05-23 19:23:38 +0000
commit6ff39d3405a4a53a73337e8fe598f37d3e8cf16e (patch)
tree49bd8222d9fc1a7f9409a2c14a3a64736cfab326 /src/lisp.h
parent6114c3eb822be31eaa2c0afe41773e1d64f4ac5b (diff)
downloademacs-6ff39d3405a4a53a73337e8fe598f37d3e8cf16e.tar.gz
* lisp.h (GLYPH_FACE): Remember that the face portion of a glyph
can be 24 bits, not just eight.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h2
1 files changed, 1 insertions, 1 deletions
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 */