diff options
-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 7bae3020d3a..3cd9da7e2c8 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -1068,7 +1068,7 @@ insert_from_gap (nchars, nbytes) 0); if (BUF_INTERVALS (current_buffer) != 0) - offset_intervals (current_buffer, PT, nchars); + offset_intervals (current_buffer, GPT, nchars); if (GPT - nchars < PT) adjust_point (nchars, nbytes); |