summaryrefslogtreecommitdiff
path: root/src/insdel.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-01-02 23:12:03 +0000
committerRichard M. Stallman <rms@gnu.org>1998-01-02 23:12:03 +0000
commit930c79fe8819aec2af76e9b4df4c0f07108f9089 (patch)
tree41da2f9b547e818bf509c4d011dc7ab5c9f1fd18 /src/insdel.c
parent1fd4f9860f28cef8fd5d5ec056de275514063eb1 (diff)
downloademacs-930c79fe8819aec2af76e9b4df4c0f07108f9089.tar.gz
(make_gap): Set GPT_BYTE along with GPT.
Diffstat (limited to 'src/insdel.c')
-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.