diff options
author | Richard Russon <rich@flatcap.org> | 2023-10-03 15:08:34 +0100 |
---|---|---|
committer | Richard Russon <rich@flatcap.org> | 2023-10-03 15:15:26 +0100 |
commit | bb36b8971159e13a1b5ae9c79abc8d280732803b (patch) | |
tree | 8bf709d10522184d1ca54eb910d5a0c1c7b8ddcd | |
parent | dd1362a6c2cdd704ea2a51b5a13f0e326c474688 (diff) |
history: fix category bug
A typo meant that some commands were save into the wrong history category.
Co-authored-by: Lucian Langa <lucilanga@7pot.org>
-rw-r--r-- | attach/recvattach.c | 2 | ||||
-rw-r--r-- | external.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/attach/recvattach.c b/attach/recvattach.c index f3c9a1b74..94b6b86e8 100644 --- a/attach/recvattach.c +++ b/attach/recvattach.c @@ -732,7 +732,7 @@ void mutt_pipe_attachment_list(struct AttachCtx *actx, FILE *fp, bool tag, state.flags = STATE_CHARCONV; if (mw_get_field((filter ? _("Filter through: ") : _("Pipe to: ")), buf, - MUTT_COMP_NO_FLAGS, HC_COMMAND, &CompleteFileOps, NULL) != 0) + MUTT_COMP_NO_FLAGS, HC_CMD, &CompleteFileOps, NULL) != 0) { goto cleanup; } diff --git a/external.c b/external.c index 912478373..ebb84cff1 100644 --- a/external.c +++ b/external.c @@ -413,7 +413,7 @@ void mutt_pipe_message(struct Mailbox *m, struct EmailArray *ea) struct Buffer *buf = buf_pool_get(); - if (mw_get_field(_("Pipe to command: "), buf, MUTT_COMP_NO_FLAGS, HC_COMMAND, + if (mw_get_field(_("Pipe to command: "), buf, MUTT_COMP_NO_FLAGS, HC_CMD, &CompleteFileOps, NULL) != 0) { goto cleanup; @@ -583,7 +583,7 @@ bool mutt_shell_escape(void) bool rc = false; struct Buffer *buf = buf_pool_get(); - if (mw_get_field(_("Shell command: "), buf, MUTT_COMP_NO_FLAGS, HC_COMMAND, + if (mw_get_field(_("Shell command: "), buf, MUTT_COMP_NO_FLAGS, HC_CMD, &CompleteFileOps, NULL) != 0) { goto done; |