summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/insdel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/insdel.c b/src/insdel.c
index ae05a5ffe87..ded0fca99d8 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -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.