# HG changeset patch # User Kenichi Handa # Date 1092743358 0 # Node ID 77df4a7f419ab8439d4fe08e446b1e8f3ca4d42d # Parent 3fd4a5c2115322a57d8bb9a967aac75ba280d80c (Fdeclare_equiv_charset): Fix handing of CHARS. (Fiso_charset): Likewise. diff -r 3fd4a5c21153 -r 77df4a7f419a src/charset.c --- a/src/charset.c Tue Aug 10 07:46:40 2004 +0000 +++ b/src/charset.c Tue Aug 17 11:49:18 2004 +0000 @@ -1319,11 +1319,12 @@ Lisp_Object dimension, chars, final_char, charset; { int id; + int chars_flag; CHECK_CHARSET_GET_ID (charset, id); check_iso_charset_parameter (dimension, chars, final_char); - - ISO_CHARSET_TABLE (XINT (dimension), XINT (chars), XINT (final_char)) = id; + chars_flag = XINT (chars) == 96; + ISO_CHARSET_TABLE (XINT (dimension), chars_flag, XINT (final_char)) = id; return Qnil; } @@ -1917,9 +1918,11 @@ Lisp_Object dimension, chars, final_char; { int id; + int chars_flag; check_iso_charset_parameter (dimension, chars, final_char); - id = ISO_CHARSET_TABLE (XFASTINT (dimension), XFASTINT (chars), + chars_flag = XFASTINT (chars) == 96; + id = ISO_CHARSET_TABLE (XFASTINT (dimension), chars_flag, XFASTINT (final_char)); return (id >= 0 ? CHARSET_NAME (CHARSET_FROM_ID (id)) : Qnil); }