From 7f48267dd2d98f71c97e7461a565673261eaf340 Mon Sep 17 00:00:00 2001 From: tomo Date: Mon, 3 Sep 2001 06:56:58 +0000 Subject: [PATCH] (charset_code_point): Use `XCHAR_TABLE' instead of `XCHAR_ID_TABLE'. (encode_char_1): Likewise. --- src/char-ucs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/char-ucs.h b/src/char-ucs.h index 06aa14c..084a211 100644 --- a/src/char-ucs.h +++ b/src/char-ucs.h @@ -587,7 +587,7 @@ charset_code_point (Lisp_Object charset, Emchar ch) Lisp_Object ret; if ( CHAR_ID_TABLE_P (encoding_table) - && INTP (ret = get_char_id_table (XCHAR_ID_TABLE(encoding_table), + && INTP (ret = get_char_id_table (XCHAR_TABLE(encoding_table), ch)) ) return XINT (ret); else @@ -613,7 +613,7 @@ encode_char_1 (Emchar ch, Lisp_Object* charset) if ( CHAR_ID_TABLE_P (encoding_table) && INTP (ret - = get_char_id_table (XCHAR_ID_TABLE(encoding_table), + = get_char_id_table (XCHAR_TABLE(encoding_table), ch)) ) return XINT (ret); else -- 1.7.10.4