aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-05-15 18:39:33 +0000
committerRichard M. Stallman1997-05-15 18:39:33 +0000
commit69b3a14b48dc9b30c6f1a7e44f0ea906e0e93278 (patch)
treebfa6a6bf3dd9f19d55ed1e62f982844218b2df75 /src
parent859f2b3c0288f29f8c23197a4ccbf2ad65f254c6 (diff)
downloademacs-69b3a14b48dc9b30c6f1a7e44f0ea906e0e93278.tar.gz
emacs-69b3a14b48dc9b30c6f1a7e44f0ea906e0e93278.zip
(Fcopy_sequence): Correctly copy the char-table contents.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index 96ce2dafa05..75ece5bf81d 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -330,7 +330,7 @@ with the original.")
330 330
331 copy = Fmake_char_table (XCHAR_TABLE (arg)->purpose, Qnil); 331 copy = Fmake_char_table (XCHAR_TABLE (arg)->purpose, Qnil);
332 /* Copy all the slots, including the extra ones. */ 332 /* Copy all the slots, including the extra ones. */
333 bcopy (XCHAR_TABLE (arg)->contents, XCHAR_TABLE (copy)->contents, 333 bcopy (XVECTOR (arg)->contents, XVECTOR (copy)->contents,
334 ((XCHAR_TABLE (arg)->size & PSEUDOVECTOR_SIZE_MASK) 334 ((XCHAR_TABLE (arg)->size & PSEUDOVECTOR_SIZE_MASK)
335 * sizeof (Lisp_Object))); 335 * sizeof (Lisp_Object)));
336 336