summaryrefslogtreecommitdiff
path: root/lisp/term/internal.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>1999-11-21 11:29:25 +0000
committerEli Zaretskii <eliz@gnu.org>1999-11-21 11:29:25 +0000
commita88d2801b8b9a771abf73370dd0f7420df0cbdc9 (patch)
tree838a127376132f1903b850d45d8b1b9124362ba5 /lisp/term/internal.el
parentfa71a53211e7f46316a5c7526a2e5e308368f66f (diff)
downloademacs-a88d2801b8b9a771abf73370dd0f7420df0cbdc9.tar.gz
term/internal.el (IT-display-table-setup): Don't overstep
character code 255.
Diffstat (limited to 'lisp/term/internal.el')
-rw-r--r--lisp/term/internal.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term/internal.el b/lisp/term/internal.el
index 5a0ffe29bcc..7568510bfeb 100644
--- a/lisp/term/internal.el
+++ b/lisp/term/internal.el
@@ -220,7 +220,7 @@ If TABLE is nil or omitted, `standard-display-table' is used."
;; Undo the effects of previous call (where they may have used
;; a different codepage) by reverting the display table for the
;; built-in charset to its pristine shape.
- (while (< c (+ offset 128))
+ (while (< c 256)
(aset disp-tab (make-char built-in-set c) nil)
(setq c (1+ c)))
(while surrogates