changeset 21505:eeffe4ca2306

(code_convert_region): Call adjust_after_insert also in unibyte mode.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 10:21:04 +0000
parents 0e2b0f6fc9c0
children a44f9f59c656
files src/coding.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Tue Apr 14 10:20:03 1998 +0000
+++ b/src/coding.c	Tue Apr 14 10:21:04 1998 +0000
@@ -4026,7 +4026,11 @@
 	  coding->produced_char = len;
 	}
       else
-	coding->produced_char = len_byte;
+	{
+	  if (!replace)
+	    adjust_after_insert (from, from_byte, to, to_byte, len_byte);
+	  coding->produced_char = len_byte;
+	}
       return 0;
     }