summaryrefslogtreecommitdiffstats
path: root/pgp.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2021-07-06 13:12:50 -0700
committerKevin McCarthy <kevin@8t8.us>2021-07-07 15:37:06 -0700
commitd0b9bec88a5b0c11b2a13303ceb5e8c5e5b09e05 (patch)
tree5baad9a64b3f788866aa24ab0a59b70527680884 /pgp.c
parentab6bbb5b15b747a72d202e150dd0621d2d9155cb (diff)
Add a help choice '?' to the yes or no prompt for quadoptions.
The prompt currently just prints "See $%s for more information." where %s is the variable name. This will at least give a pointer to what variable can be adjusted to change the prompt behavior. A handful of boolean variables also control prompt display. Add a help choice for those too using the function mutt_query_boolean().
Diffstat (limited to 'pgp.c')
-rw-r--r--pgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgp.c b/pgp.c
index 245617f0..8fc51c83 100644
--- a/pgp.c
+++ b/pgp.c
@@ -1406,7 +1406,7 @@ char *pgp_findKeys (ADDRESS *adrlist, int oppenc_mode)
if (! oppenc_mode && option(OPTCRYPTCONFIRMHOOK))
{
snprintf (buf, sizeof (buf), _("Use keyID = \"%s\" for %s?"), keyID, p->mailbox);
- r = mutt_yesorno (buf, MUTT_YES);
+ r = mutt_query_boolean (OPTCRYPTCONFIRMHOOK, buf, MUTT_YES);
}
if (r == MUTT_YES)
{