From 7737ebe211642ee981c4013b2f3f138388de2e87 Mon Sep 17 00:00:00 2001 From: tomo Date: Tue, 2 May 2000 04:08:31 +0000 Subject: [PATCH] (encode_builtin_char_1): Limit builtin-code-range of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22. --- src/mule-charset.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mule-charset.c b/src/mule-charset.c index 3f70932..f464a85 100644 --- a/src/mule-charset.c +++ b/src/mule-charset.c @@ -1785,11 +1785,16 @@ encode_builtin_char_1 (Emchar c, Lisp_Object* charset) return c - MIN_CHAR_DAIKANWA; } */ - else if (c < MIN_CHAR_94) + else if (c <= MAX_CHAR_MOJIKYO) { *charset = Vcharset_mojikyo; return c - MIN_CHAR_MOJIKYO; } + else if (c < MIN_CHAR_94) + { + *charset = Vcharset_ucs; + return c; + } else if (c <= MAX_CHAR_94) { *charset = CHARSET_BY_ATTRIBUTES (CHARSET_TYPE_94, -- 1.7.10.4