From 0b1f1b099f3ea8bc196cdfe91d3369e43dadd5bb Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 1 May 1996 21:20:05 +0000 Subject: [PATCH] (add_overlay_mod_hooklist): Fix call to bcopy. --- src/buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5