changeset 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 76c6740bd736
children d7b187832881
files src/fns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)));