Commit c1fd9232 authored by Ken Raeburn's avatar Ken Raeburn
Browse files

* fns.c (Fset_char_table_default): Check that a charset is defined before checking its dimension.

parent 7da970c0
2001-07-18 Ken Raeburn <raeburn@gnu.org>
* fns.c (Fset_char_table_default): Check that a charset is defined
before checking its dimension.
2001-07-17 Ken Raeburn <raeburn@gnu.org>
* coding.c (setup_coding_system): Don't do any designation based
......
......@@ -2353,7 +2353,7 @@ See also the documentation of make-char.")
/* Even if C is not a generic char, we had better behave as if a
generic char is specified. */
if (CHARSET_DIMENSION (charset) == 1)
if (!CHARSET_DEFINED_P (charset) || CHARSET_DIMENSION (charset) == 1)
code1 = 0;
temp = XCHAR_TABLE (char_table)->contents[charset + 128];
if (!code1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment