(encode_char_1): Likewise.
   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
 
          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