From: tomo Date: Tue, 2 May 2000 04:08:31 +0000 (+0000) Subject: (encode_builtin_char_1): Limit builtin-code-range of `mojikyo' to X-Git-Tag: r21-2-27-utf-2000-0_15-1~3 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7737ebe211642ee981c4013b2f3f138388de2e87;p=chise%2Fxemacs-chise.git.1 (encode_builtin_char_1): Limit builtin-code-range of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22. --- 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,