From: tomo Date: Wed, 27 Oct 1999 05:26:35 +0000 (+0000) Subject: (Fmake_charset): Just use `get_unallocated_leading_byte'. X-Git-Tag: r21-2-19-utf-2000-0_10-0~21 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=57adba064ab863fb491e6c3fadca05356c059161;p=chise%2Fxemacs-chise.git.1 (Fmake_charset): Just use `get_unallocated_leading_byte'. --- diff --git a/src/mule-charset.c b/src/mule-charset.c index c3d69de..a7735f4 100644 --- a/src/mule-charset.c +++ b/src/mule-charset.c @@ -1338,60 +1338,7 @@ character set. Recognized properties are: error ("Character set already defined for this DIMENSION/CHARS/FINAL combo"); -#ifdef UTF2000 - if (dimension == 1) - { - if (chars == 94) - { - if (code_offset == 0) - id = CHARSET_ID_OFFSET_94 + final; - else - id = get_unallocated_leading_byte (dimension); - } - else if (chars == 96) - { - if (code_offset == 0) - id = CHARSET_ID_OFFSET_96 + final; - else - id = get_unallocated_leading_byte (dimension); - } - else - { - abort (); - } - } - else if (dimension == 2) - { - if (chars == 94) - { - if (code_offset == 0) - id = CHARSET_ID_OFFSET_94x94 + final; - else - id = get_unallocated_leading_byte (dimension); - } - else if (chars == 96) - { - id = get_unallocated_leading_byte (dimension); - } - else - { - abort (); - } - } - else - { - abort (); - } - if (final) - { - if (chars == 94) - byte_offset = 33; - else if (chars == 96) - byte_offset = 32; - } -#else id = get_unallocated_leading_byte (dimension); -#endif if (NILP (doc_string)) doc_string = build_string ("");