Mercurial > emacs
diff src/fns.c @ 17819:6fd66459ec9a
(Fcopy_sequence): Correctly copy the char-table contents.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Thu, 15 May 1997 18:39:33 +0000 |
| parents | 120a8d934816 |
| children | 961399e23170 |
line wrap: on
line diff
--- a/src/fns.c Thu May 15 18:26:28 1997 +0000 +++ b/src/fns.c Thu May 15 18:39:33 1997 +0000 @@ -330,7 +330,7 @@ copy = Fmake_char_table (XCHAR_TABLE (arg)->purpose, Qnil); /* Copy all the slots, including the extra ones. */ - bcopy (XCHAR_TABLE (arg)->contents, XCHAR_TABLE (copy)->contents, + bcopy (XVECTOR (arg)->contents, XVECTOR (copy)->contents, ((XCHAR_TABLE (arg)->size & PSEUDOVECTOR_SIZE_MASK) * sizeof (Lisp_Object)));
