diff options
author | Kevin McCarthy <kevin@8t8.us> | 2021-07-06 13:12:50 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2021-07-07 15:37:06 -0700 |
commit | d0b9bec88a5b0c11b2a13303ceb5e8c5e5b09e05 (patch) | |
tree | 5baad9a64b3f788866aa24ab0a59b70527680884 /pgp.c | |
parent | ab6bbb5b15b747a72d202e150dd0621d2d9155cb (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |