diff options
| author | Richard M. Stallman | 1998-01-02 23:12:03 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-01-02 23:12:03 +0000 |
| commit | 7d92db58826b2333e7c318251dc178fa99fc32cc (patch) | |
| tree | 96db245ed6562f0892a181a19e11300ebdb7a92a /src | |
| parent | c5059c2cf2ca8505d084574e014053659d62e3e0 (diff) | |
| download | emacs-7d92db58826b2333e7c318251dc178fa99fc32cc.tar.gz emacs-7d92db58826b2333e7c318251dc178fa99fc32cc.zip | |
(make_gap): Set GPT_BYTE along with GPT.
Diffstat (limited to 'src')
| -rw-r--r-- | src/insdel.c | 1 |
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) | |||
| 524 | 524 | ||
| 525 | /* Call the newly allocated space a gap at the end of the whole space. */ | 525 | /* Call the newly allocated space a gap at the end of the whole space. */ |
| 526 | GPT = Z + GAP_SIZE; | 526 | GPT = Z + GAP_SIZE; |
| 527 | GPT_BYTE = Z_BYTE + GAP_SIZE; | ||
| 527 | GAP_SIZE = nbytes_added; | 528 | GAP_SIZE = nbytes_added; |
| 528 | 529 | ||
| 529 | /* Move the new gap down to be consecutive with the end of the old one. | 530 | /* Move the new gap down to be consecutive with the end of the old one. |