diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-05-17 10:43:26 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-05-17 10:43:26 +0000 |
commit | fb2b608cb5e85dc702644aee8c19aff93e2db455 (patch) | |
tree | 476d1feb1ad659cb58530f16c7929ff3ebeefc51 | |
parent | cf7a67ab390e1220ef2eab205803d88de07e7ef8 (diff) |
When displaying a deleted attachment's information, present the file
name if it is present. Suggested by Pete Wenzel <pete@stc.com>.
-rw-r--r-- | handler.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1249,6 +1249,9 @@ static void external_body_handler (BODY *b, STATE *s) if (expire != -1) state_printf (s, _("[-- on %s --]\n"), expiration); + if (b->parts->filename) + state_printf (s, _("[-- name: %s --]\n"), b->parts->filename); + mutt_copy_hdr (s->fpin, s->fpout, ftell (s->fpin), b->parts->offset, (option (OPTWEED) ? (CH_WEED | CH_REORDER) : 0) | CH_DECODE , NULL); |