summaryrefslogtreecommitdiffstats
path: root/headers.c
diff options
context:
space:
mode:
Diffstat (limited to 'headers.c')
-rw-r--r--headers.c3
1 files changed, 2 insertions, 1 deletions
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)