X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Ftext-coding.c;h=e9749b131195b742fd930598d163f8345ed79ccd;hb=a7018caf28cfca1998adae78b74f2d513da83838;hp=449152b76a091c76bca7b30dd7b9d1b5a269894d;hpb=e5a6fbf8fd48090f4c04aafd4ba4caad0313f2bb;p=chise%2Fxemacs-chise.git diff --git a/src/text-coding.c b/src/text-coding.c index 449152b..e9749b1 100644 --- a/src/text-coding.c +++ b/src/text-coding.c @@ -2229,7 +2229,8 @@ COMPOSE_ADD_CHAR(struct decoding_stream *str, else if (!CHAR_ID_TABLE_P (str->combining_table)) { Lisp_Object ret - = get_char_id_table (character, Vcharacter_composition_table); + = get_char_id_table (XCHAR_ID_TABLE(Vcharacter_composition_table), + character); if (NILP (ret)) DECODE_ADD_UCS_CHAR (character, dst); @@ -2243,12 +2244,15 @@ COMPOSE_ADD_CHAR(struct decoding_stream *str, else { Lisp_Object ret - = get_char_id_table (character, str->combining_table); + = get_char_id_table (XCHAR_ID_TABLE(str->combining_table), + character); if (CHARP (ret)) { Emchar char2 = XCHARVAL (ret); - ret = get_char_id_table (char2, Vcharacter_composition_table); + ret = + get_char_id_table (XCHAR_ID_TABLE(Vcharacter_composition_table), + char2); if (NILP (ret)) { DECODE_ADD_UCS_CHAR (char2, dst);