changeset 20565:aa9b7c5f0f62

(Fmake_marker): Initialize marker's bytepos and charpos.
author Richard M. Stallman <rms@gnu.org>
date Fri, 02 Jan 1998 21:27:13 +0000
parents 4d06099b7e09
children 0877f6e6fc15
files src/alloc.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Fri Jan 02 21:26:32 1998 +0000
+++ b/src/alloc.c	Fri Jan 02 21:27:13 1998 +0000
@@ -1045,7 +1045,8 @@
   XMISCTYPE (val) = Lisp_Misc_Marker;
   p = XMARKER (val);
   p->buffer = 0;
-  p->bufpos = 0;
+  p->bytepos = 0;
+  p->charpos = 0;
   p->chain = Qnil;
   p->insertion_type = 0;
   return val;