Skip to content

Commit

Permalink
attach: fix filter function
Browse files Browse the repository at this point in the history
Fix a remnant left over after some function renaming.
Remove the duplicate function definition.
  • Loading branch information
flatcap committed Feb 18, 2022
1 parent f3b9af5 commit 8f35405
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion compose/functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,8 @@ static int op_attachment_filter(struct ComposeSharedData *shared, int op)
mutt_error(_("Can't filter multipart attachments"));
return IR_ERROR;
}
mutt_pipe_attachment_list(actx, NULL, menu->tagprefix, cur_att->body, (op == OP_FILTER));
mutt_pipe_attachment_list(actx, NULL, menu->tagprefix, cur_att->body,
(op == OP_ATTACHMENT_FILTER));
if (op == OP_ATTACHMENT_FILTER) /* cte might have changed */
{
menu_queue_redraw(menu, menu->tagprefix ? MENU_REDRAW_FULL : MENU_REDRAW_CURRENT);
Expand Down
1 change: 0 additions & 1 deletion opcodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@
_fmt(OP_ENTER_COMMAND, N_("enter a neomuttrc command")) \
_fmt(OP_ENTER_MASK, N_("enter a file mask")) \
_fmt(OP_EXIT, N_("exit this menu")) \
_fmt(OP_FILTER, N_("filter attachment through a shell command")) \
_fmt(OP_FIRST_ENTRY, N_("move to the first entry")) \
_fmt(OP_FLAG_MESSAGE, N_("toggle a message's 'important' flag")) \
_fmt(OP_FOLLOWUP, N_("followup to newsgroup")) \
Expand Down

0 comments on commit 8f35405

Please sign in to comment.