From e6e5d60332f319ad0a8fb3e5ad712299a0146c23 Mon Sep 17 00:00:00 2001 From: tomo Date: Sun, 12 Sep 1999 12:02:32 +0000 Subject: [PATCH] (char_encode_shift_jis): Use `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of `ucs_to_latin_jisx0201'. --- src/text-coding.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 1.7.10.4