mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-06 05:52:32 -08:00
(GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits
for the character code.
This commit is contained in:
parent
8ea64148b5
commit
4728a55337
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue