From 963967a3873b847f93384596e564f316765767f2 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 5 Nov 2001 21:19:33 +0000 Subject: Byrial Jensen's mtime hack is needed at more than one place. Noted by Manoj Kasichainula. --- headers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'headers.c') diff --git a/headers.c b/headers.c index 1900c836..c3d23e57 100644 --- a/headers.c +++ b/headers.c @@ -70,7 +70,8 @@ void mutt_edit_headers (const char *editor, return; } - mtime = st.st_mtime; + mtime = mutt_decrease_mtime (path, &st); + mutt_edit_file (editor, path); stat (path, &st); if (mtime == st.st_mtime) -- cgit v1.2.3