From: Richard M. Stallman Date: Wed, 1 May 1996 21:20:05 +0000 (+0000) Subject: (add_overlay_mod_hooklist): Fix call to bcopy. X-Git-Tag: emacs-19.34~740 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0b1f1b099f3ea8bc196cdfe91d3369e43dadd5bb;p=emacs.git (add_overlay_mod_hooklist): Fix call to bcopy. --- diff --git a/src/buffer.c b/src/buffer.c index 4c3f5b70e5e..9adb0f1fe11 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -3044,8 +3044,8 @@ add_overlay_mod_hooklist (functionlist, overlay) old = last_overlay_modification_hooks; last_overlay_modification_hooks = Fmake_vector (make_number (oldsize * 2), Qnil); - bcopy (XVECTOR (last_overlay_modification_hooks)->contents, - XVECTOR (old)->contents, + bcopy (XVECTOR (old)->contents, + XVECTOR (last_overlay_modification_hooks)->contents, sizeof (Lisp_Object) * oldsize); } XVECTOR (last_overlay_modification_hooks)->contents[last_overlay_modification_hooks_used++] = functionlist;