summaryrefslogtreecommitdiff
path: root/usr.bin/mg/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/file.c')
-rw-r--r--usr.bin/mg/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/file.c b/usr.bin/mg/file.c
index 0713208576c..f96f19b3319 100644
--- a/usr.bin/mg/file.c
+++ b/usr.bin/mg/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.59 2006/06/01 09:00:50 kjell Exp $ */
+/* $OpenBSD: file.c,v 1.60 2006/07/08 17:56:10 kjell Exp $ */
/* This file is in the public domain. */
@@ -251,6 +251,7 @@ readin(char *fname)
if (startrow)
gotoline(FFARG, startrow);
+ undo_add_modified();
return (status);
}