changeset 1240:7365d006d0a0

(Finsert_file_contents): Do record_insert, then inc MODIFF.
author Richard M. Stallman <rms@gnu.org>
date Mon, 28 Sep 1992 07:40:46 +0000
parents 52afa4976154
children de92360b091b
files src/fileio.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Mon Sep 28 06:55:54 1992 +0000
+++ b/src/fileio.c	Mon Sep 28 07:40:46 1992 +0000
@@ -2318,8 +2318,10 @@
     }
 
   if (inserted > 0)
-    MODIFF++;
-  record_insert (point, inserted);
+    {
+      record_insert (point, inserted);
+      MODIFF++;
+    }
 
   close (fd);