diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-11-27 13:14:28 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-11-27 13:14:28 +0000 |
commit | 32a08cd650d8998652d4852814e31900c5876923 (patch) | |
tree | 5b9d16890cd4170bf65211b25e00a264e5c99de8 /compose.c | |
parent | bbf942213a4401aad85eca20f534b44f5e44585e (diff) |
Make sure edit-type works without a segmentation fault from the
receive-attach menu.
Diffstat (limited to 'compose.c')
-rw-r--r-- | compose.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |