summaryrefslogtreecommitdiffstats
path: root/pgpkey.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-12-02 16:29:26 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-12-02 16:29:26 +0000
commitf524c672889437bbc02aba2ac13704b95c534847 (patch)
treed41c43c57fcb37ec6dc9dea02554bad4cf36fb55 /pgpkey.c
parent63c5690ab11850647c7ed440c9833fd2f438a67e (diff)
Fix the PGP key selection menu's title.
Diffstat (limited to 'pgpkey.c')
-rw-r--r--pgpkey.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pgpkey.c b/pgpkey.c
index aa8a8fc3..d2fd5503 100644
--- a/pgpkey.c
+++ b/pgpkey.c
@@ -456,11 +456,12 @@ static pgp_key_t *pgp_select_key (pgp_key_t *keys,
menu->help = helpstr;
menu->data = KeyTable;
- strfcpy (buf, _("PGP keys matching "), sizeof (buf));
if (p)
- strfcpy (buf, p->mailbox, sizeof (buf) - mutt_strlen (buf));
+ snprintf (buf, sizeof (buf), _("PGP keys matching <%s>."), p->mailbox);
else
- strcat (buf, s);
+ snprintf (buf, sizeof (buf), _("PGP keys matching \"%s\"."), s);
+
+
menu->title = buf;
kp = NULL;