diff --git a/src/object.c b/src/object.c index 8eff02124040b6e74cd75aab4ca8bcce42b57662..4dc18f9a10fa9d5110d2d997c78fb990746a5393 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);