diff options
| author | Kenichi Handa | 1998-01-12 05:49:45 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-01-12 05:49:45 +0000 |
| commit | 7792090e89e1732e040ab4d79c48e8b19e5569a6 (patch) | |
| tree | ed8f78dbef403b52c2a156f5fe8993f9da31ae4c /src | |
| parent | 28246d85b1f1349baec82f650937b0eb172a20e8 (diff) | |
| download | emacs-7792090e89e1732e040ab4d79c48e8b19e5569a6.tar.gz emacs-7792090e89e1732e040ab4d79c48e8b19e5569a6.zip | |
(insert_from_string_1): Decrement GAP_SIZE by
outgoing_nbytes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/insdel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insdel.c b/src/insdel.c index a3afd75b5c5..a53c937ab6f 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -944,7 +944,7 @@ insert_from_string_1 (string, pos, pos_byte, nchars, nbytes, | |||
| 944 | /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */ | 944 | /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */ |
| 945 | offset_intervals (current_buffer, PT, nchars); | 945 | offset_intervals (current_buffer, PT, nchars); |
| 946 | 946 | ||
| 947 | GAP_SIZE -= nbytes; | 947 | GAP_SIZE -= outgoing_nbytes; |
| 948 | GPT += nchars; | 948 | GPT += nchars; |
| 949 | ZV += nchars; | 949 | ZV += nchars; |
| 950 | Z += nchars; | 950 | Z += nchars; |