changeset 20642:818677afe7bc

(insert_from_string_1): Decrement GAP_SIZE by outgoing_nbytes.
author Kenichi Handa <handa@m17n.org>
date Mon, 12 Jan 1998 05:49:45 +0000
parents a48d24f8726c
children 2a37005dcd69
files src/insdel.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/insdel.c	Mon Jan 12 05:49:45 1998 +0000
+++ b/src/insdel.c	Mon Jan 12 05:49:45 1998 +0000
@@ -944,7 +944,7 @@
   /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */
   offset_intervals (current_buffer, PT, nchars);
 
-  GAP_SIZE -= nbytes;
+  GAP_SIZE -= outgoing_nbytes;
   GPT += nchars;
   ZV += nchars;
   Z += nchars;