From bfc0e8390b0f963d602a14d5890228a1b4458a57 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Sat, 27 Jan 2001 13:33:53 +0000 Subject: Add collapsing to the receive-attach menu, and improve digest handling that way. --- compose.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compose.c') 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; -- cgit v1.2.3