(char_encode_shift_jis): Use `XCHARSET_TO_BYTE1_TABLE' for
authortomo <tomo>
Sun, 12 Sep 1999 12:02:32 +0000 (12:02 +0000)
committertomo <tomo>
Sun, 12 Sep 1999 12:02:32 +0000 (12:02 +0000)
`Vcharset_latin_jisx0201' instead of `ucs_to_latin_jisx0201'.

src/text-coding.c

index 5a0ca98..3a7a784 100644 (file)
@@ -2981,7 +2981,9 @@ char_encode_shift_jis (struct encoding_stream *str, Emchar ch,
       unsigned int c1, c2, s1, s2;
       
 #ifdef UTF2000
-      if ( (c1 = get_byte_from_character_table (ch, ucs_to_latin_jisx0201)) )
+      if ( (c1 =
+           get_byte_from_character_table
+           (ch, XCHARSET_TO_BYTE1_TABLE (Vcharset_latin_jisx0201))) )
        {
          charset = Vcharset_latin_jisx0201;
          c2 = 0;