summaryrefslogtreecommitdiffstats
path: root/headers.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-11-05 21:19:33 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-11-05 21:19:33 +0000
commit963967a3873b847f93384596e564f316765767f2 (patch)
tree768ca35a715af5501a112f5c2fd6d4293eb514e6 /headers.c
parentf1f8b9776483ad05bca6378084685fff2a27d668 (diff)
Byrial Jensen's mtime hack is needed at more than one place. Noted
by Manoj Kasichainula.
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)