From: tomo Date: Sun, 12 Sep 1999 12:02:32 +0000 (+0000) Subject: (char_encode_shift_jis): Use `XCHARSET_TO_BYTE1_TABLE' for X-Git-Tag: r21-2-19-utf-2000-0_7-0~32 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e6e5d60332f319ad0a8fb3e5ad712299a0146c23;p=chise%2Fxemacs-chise.git.1 (char_encode_shift_jis): Use `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of `ucs_to_latin_jisx0201'. --- diff --git a/src/text-coding.c b/src/text-coding.c index 5a0ca98..3a7a784 100644 --- a/src/text-coding.c +++ b/src/text-coding.c @@ -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;