mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-12 09:28:24 +00:00
(GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits
for the character code.
This commit is contained in:
parent
8ea64148b5
commit
4728a55337
@ -373,9 +373,9 @@ struct glyph
|
||||
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? */
|
||||
|
Loading…
Reference in New Issue
Block a user