changeset 89326:59c6c749d00c

(insert_from_gap): Fix argument to offset_intervals.
author Kenichi Handa <handa@m17n.org>
date Mon, 06 Jan 2003 01:17:47 +0000
parents 58d5f88f985b
children 03c625b5296d
files src/insdel.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/insdel.c	Mon Jan 06 01:12:14 2003 +0000
+++ b/src/insdel.c	Mon Jan 06 01:17:47 2003 +0000
@@ -1068,7 +1068,7 @@
 			     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);