From 923e58dc195ce35f397d4b1e7872d94a54443e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Sun, 28 Sep 1997 18:40:15 -0700 Subject: [PATCH] bugfix Rev: src/object.c:1.25 --- src/object.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/object.c b/src/object.c index 8eff021240..4dc18f9a10 100644 --- a/src/object.c +++ b/src/object.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: object.c,v 1.24 1997/09/29 00:57:53 hubbe Exp $"); +RCSID("$Id: object.c,v 1.25 1997/09/29 01:40:15 hubbe Exp $"); #include "object.h" #include "dynamic_buffer.h" #include "interpret.h" @@ -419,7 +419,7 @@ void object_index_no_free(struct svalue *to, { push_svalue(index); apply_lfun(o,lfun,1); - *to=*sp; + *to=sp[-1]; sp--; } else { object_index_no_free2(to,o,index); -- GitLab