if ((WithCrypto & APPLICATION_PGP)
&& (msg->security & APPLICATION_PGP) && (msg->security & SIGN))
- printw (TITLE_FMT "%s", _("sign as: "), PgpSignAs ? PgpSignAs : _("<default>"));
+ {
+ char *s = _(" sign as: ");
- int offset = HDR_XOFFSET - mbstowcs (NULL, s, 0);
++ int offset = HDR_XOFFSET + SidebarWidth - mbstowcs (NULL, s, 0);
+ mvprintw (HDR_CRYPTINFO, offset < 0 ? 0 : offset, "%s%s", s,
+ PgpSignAs ? PgpSignAs : _("<default>"));
+ }
if ((WithCrypto & APPLICATION_SMIME)
&& (msg->security & APPLICATION_SMIME) && (msg->security & SIGN)) {
- printw (TITLE_FMT "%s", _("sign as: "), SmimeDefaultKey ? SmimeDefaultKey : _("<default>"));
+ char *s = _(" sign as: ");
- int offset = HDR_XOFFSET - mbstowcs (NULL, s, 0);
++ int offset = HDR_XOFFSET + SidebarWidth - mbstowcs (NULL, s, 0);
+ mvprintw (HDR_CRYPTINFO, offset < 0 ? 0 : offset, "%s%s", s,
+ SmimeDefaultKey ? SmimeDefaultKey : _("<default>"));
}
if ((WithCrypto & APPLICATION_SMIME)