aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/insdel.c2
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)
1068 0); 1068 0);
1069 1069
1070 if (BUF_INTERVALS (current_buffer) != 0) 1070 if (BUF_INTERVALS (current_buffer) != 0)
1071 offset_intervals (current_buffer, PT, nchars); 1071 offset_intervals (current_buffer, GPT, nchars);
1072 1072
1073 if (GPT - nchars < PT) 1073 if (GPT - nchars < PT)
1074 adjust_point (nchars, nbytes); 1074 adjust_point (nchars, nbytes);