diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-12-02 16:29:26 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-12-02 16:29:26 +0000 |
commit | f524c672889437bbc02aba2ac13704b95c534847 (patch) | |
tree | d41c43c57fcb37ec6dc9dea02554bad4cf36fb55 /pgpkey.c | |
parent | 63c5690ab11850647c7ed440c9833fd2f438a67e (diff) |
Fix the PGP key selection menu's title.
Diffstat (limited to 'pgpkey.c')
-rw-r--r-- | pgpkey.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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; |