From a88d2801b8b9a771abf73370dd0f7420df0cbdc9 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 21 Nov 1999 11:29:25 +0000 Subject: [PATCH] term/internal.el (IT-display-table-setup): Don't overstep character code 255. --- lisp/ChangeLog | 5 +++++ lisp/term/internal.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 786430f60b1..9a7ec62d431 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +1999-11-21 Eli Zaretskii + + * term/internal.el (IT-display-table-setup): Don't overstep + character code 255. + 1999-11-20 Kenichi Handa * ps-mule.el (ps-mule-font-info-database-bdf): Default BDF font 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 -- 2.39.5