Mercurial > emacs
changeset 38483:eac29e9f6d99
* fns.c (Fset_char_table_default): Check that a charset is defined before checking its dimension.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Wed, 18 Jul 2001 20:42:40 +0000 |
parents | c8c4805bde95 |
children | 924488395239 |
files | src/ChangeLog src/fns.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Jul 18 15:19:49 2001 +0000 +++ b/src/ChangeLog Wed Jul 18 20:42:40 2001 +0000 @@ -1,3 +1,8 @@ +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
--- a/src/fns.c Wed Jul 18 15:19:49 2001 +0000 +++ b/src/fns.c Wed Jul 18 20:42:40 2001 +0000 @@ -2353,7 +2353,7 @@ /* 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)