- sprintf(wcount, " %d/%d", mp->m_lines, mp->m_size);
- s = strlen(wcount);
- cp = wcount + s;
- while (s < 7)
- s++, *cp++ = ' ';
- *cp = '\0';
- if (subjline != NOSTR)
- printf("%c%c%3d %-8s %16.16s %s \"%s\"\n", curind, dispc, mesg,
- nameof(mp, 0), hl.l_date, wcount, subjline);
+ sprintf(wcount, "%3d/%-5ld", mp->m_lines, mp->m_size);
+ subjlen = screenwidth - 50 - strlen(wcount);
+ name = value("show-rcpt") != NOSTR ?
+ skin(hfield("to", mp)) : nameof(mp, 0);
+ if (subjline == NOSTR || subjlen < 0) /* pretty pathetic */
+ printf("%c%c%3d %-20.20s %16.16s %s\n",
+ curind, dispc, mesg, name, hl.l_date, wcount);