diff src/dispextern.h @ 30475:fe219c6d2ba2

(GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits for the character code.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 26 Jul 2000 14:10:02 +0000
parents 21d1c542f98e
children 1c138ac4bf6d
line wrap: on
line diff
--- a/src/dispextern.h	Wed Jul 26 14:09:40 2000 +0000
+++ b/src/dispextern.h	Wed Jul 26 14:10:02 2000 +0000
@@ -373,9 +373,9 @@
    character is multibyte, return -1 as we can't use glyph table for a
    multibyte character. */
      
-#define GLYPH_FROM_CHAR_GLYPH(GLYPH)		\
-  ((GLYPH).u.ch < 256				\
-   ? ((GLYPH).u.ch | ((GLYPH).face_id << 8))	\
+#define GLYPH_FROM_CHAR_GLYPH(GLYPH)				\
+  ((GLYPH).u.ch < 256						\
+   ? ((GLYPH).u.ch | ((GLYPH).face_id << CHARACTERBITS))	\
    : -1)
 
 /* Is GLYPH a padding glyph?  */