summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-01-27 13:33:53 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-01-27 13:33:53 +0000
commitbfc0e8390b0f963d602a14d5890228a1b4458a57 (patch)
tree7d6721fbecae5da04cb33e358c88af4f9a1f33ec /compose.c
parented6ec2db5d070b0be0826e6176d83c11f5947563 (diff)
Add collapsing to the receive-attach menu, and improve digest
handling that way.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/compose.c b/compose.c
index c43fa321..141389ec 100644
--- a/compose.c
+++ b/compose.c
@@ -533,6 +533,7 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */
int oldSort, oldSortAux;
struct stat st;
+ mutt_attach_init (msg->content);
idx = mutt_gen_attach_list (msg->content, -1, idx, &idxlen, &idxmax, 0, 1);
menu = mutt_new_menu ();
@@ -1112,7 +1113,7 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */
case OP_VIEW_ATTACH:
case OP_DISPLAY_HEADERS:
CHECK_COUNT;
- mutt_attach_display_loop (menu, op, NULL, NULL, NULL, idx, &idxlen, NULL);
+ mutt_attach_display_loop (menu, op, NULL, NULL, NULL, &idx, &idxlen, NULL, 0);
menu->redraw = REDRAW_FULL;
break;