From 57adba064ab863fb491e6c3fadca05356c059161 Mon Sep 17 00:00:00 2001 From: tomo Date: Wed, 27 Oct 1999 05:26:35 +0000 Subject: [PATCH] (Fmake_charset): Just use `get_unallocated_leading_byte'. --- src/mule-charset.c | 53 ---------------------------------------------------- 1 file changed, 53 deletions(-) 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 (""); -- 1.7.10.4