(make-glyph-code): Fix previous change.

This commit is contained in:
Kenichi Handa 2007-05-28 11:57:42 +00:00
parent 7a5988c6ee
commit bd49b21e87

View file

@ -191,7 +191,7 @@ X frame."
"Return a glyph code representing char CHAR with face FACE."
;; Due to limitations on Emacs integer values, faces with
;; face id greater that 512 are silently ignored.
(if (and face (<= (face-id face) #xfff))
(if (and face (<= (face-id face) #x1ff))
(logior char (lsh (face-id face) 22))
char))