changeset 20574:928b9aff1e64

(make_gap): Set GPT_BYTE along with GPT.
author Richard M. Stallman <rms@gnu.org>
date Fri, 02 Jan 1998 23:12:03 +0000
parents b46523ef0e0a
children 460e5621e8c9
files src/insdel.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/insdel.c	Fri Jan 02 23:04:39 1998 +0000
+++ b/src/insdel.c	Fri Jan 02 23:12:03 1998 +0000
@@ -524,6 +524,7 @@
 
   /* Call the newly allocated space a gap at the end of the whole space.  */
   GPT = Z + GAP_SIZE;
+  GPT_BYTE = Z_BYTE + GAP_SIZE;
   GAP_SIZE = nbytes_added;
 
   /* Move the new gap down to be consecutive with the end of the old one.