(add_overlay_mod_hooklist): Fix call to bcopy.

This commit is contained in:
Richard M. Stallman 1996-05-01 21:20:05 +00:00
parent 8f3d8a86cf
commit 0b1f1b099f

View file

@ -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;