diff options
| -rw-r--r-- | src/fns.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -462,9 +462,10 @@ static Lisp_Object | |||
| 462 | copy_sub_char_table (arg) | 462 | copy_sub_char_table (arg) |
| 463 | Lisp_Object arg; | 463 | Lisp_Object arg; |
| 464 | { | 464 | { |
| 465 | Lisp_Object copy = make_sub_char_table (XCHAR_TABLE (arg)->defalt); | 465 | Lisp_Object copy = make_sub_char_table (Qnil); |
| 466 | int i; | 466 | int i; |
| 467 | 467 | ||
| 468 | XCHAR_TABLE (copy)->defalt = XCHAR_TABLE (arg)->defalt; | ||
| 468 | /* Copy all the contents. */ | 469 | /* Copy all the contents. */ |
| 469 | bcopy (XCHAR_TABLE (arg)->contents, XCHAR_TABLE (copy)->contents, | 470 | bcopy (XCHAR_TABLE (arg)->contents, XCHAR_TABLE (copy)->contents, |
| 470 | SUB_CHAR_TABLE_ORDINARY_SLOTS * sizeof (Lisp_Object)); | 471 | SUB_CHAR_TABLE_ORDINARY_SLOTS * sizeof (Lisp_Object)); |