summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/disp-table.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/disp-table.el b/lisp/disp-table.el
index b6b2ea12bec..38f3ed6708a 100644
--- a/lisp/disp-table.el
+++ b/lisp/disp-table.el
@@ -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))