(make_gap): Set GPT_BYTE along with GPT.
authorRichard M. Stallman <rms@gnu.org>
Fri, 2 Jan 1998 23:12:03 +0000 (23:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 2 Jan 1998 23:12:03 +0000 (23:12 +0000)
src/insdel.c

index ae05a5f..ded0fca 100644 (file)
@@ -524,6 +524,7 @@ make_gap (nbytes_added)
 
   /* 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.