summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-11-27 13:14:28 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-11-27 13:14:28 +0000
commit32a08cd650d8998652d4852814e31900c5876923 (patch)
tree5b9d16890cd4170bf65211b25e00a264e5c99de8 /compose.c
parentbbf942213a4401aad85eca20f534b44f5e44585e (diff)
Make sure edit-type works without a segmentation fault from the
receive-attach menu.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compose.c b/compose.c
index a82ddc5a..c43fa321 100644
--- a/compose.c
+++ b/compose.c
@@ -906,7 +906,7 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */
case OP_EDIT_TYPE:
CHECK_COUNT;
{
- mutt_edit_content_type (NULL, idx[menu->current]->content);
+ mutt_edit_content_type (NULL, idx[menu->current]->content, NULL);
/* this may have been a change to text/something */
mutt_update_encoding (idx[menu->current]->content);
@@ -1112,7 +1112,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, idx, idxlen);
+ mutt_attach_display_loop (menu, op, NULL, NULL, NULL, idx, &idxlen, NULL);
menu->redraw = REDRAW_FULL;
break;