summaryrefslogtreecommitdiffstats
path: root/crypt-gpgme.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 /crypt-gpgme.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 'crypt-gpgme.c')
-rw-r--r--crypt-gpgme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypt-gpgme.c b/crypt-gpgme.c
index 4a388392..74b027bd 100644
--- a/crypt-gpgme.c
+++ b/crypt-gpgme.c
@@ -4994,7 +4994,7 @@ static char *find_keys (ADDRESS *adrlist, unsigned int app, int oppenc_mode)
{
snprintf (buf, sizeof (buf), _("Use keyID = \"%s\" for %s?"),
crypt_hook_val, p->mailbox);
- r = mutt_yesorno (buf, MUTT_YES);
+ r = mutt_query_boolean (OPTCRYPTCONFIRMHOOK, buf, MUTT_YES);
}
if (r == MUTT_YES)
{