changeset 21504:0e2b0f6fc9c0

(Finsert_file_contents): Call adjust_after_insert also in unibyte mode.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 10:20:03 +0000
parents d08387c742bb
children eeffe4ca2306
files src/fileio.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Tue Apr 14 01:07:28 1998 +0000
+++ b/src/fileio.c	Tue Apr 14 10:20:03 1998 +0000
@@ -3803,6 +3803,9 @@
 			       PT + inserted_byte, PT_BYTE + inserted_byte,
 			       inserted);
 	}
+      else
+	adjust_after_insert (PT, PT_BYTE, PT + inserted, PT_BYTE + inserted,
+			     inserted);
 
 #ifdef DOS_NT
       /* Use the conversion type to determine buffer-file-type