static void attach_entry(char *b, ssize_t blen, MUTTMENU * menu, int num)
{
static void attach_entry(char *b, ssize_t blen, MUTTMENU * menu, int num)
{
- m_strformat(b, blen, COLS - SW, AttachFormat, mutt_attach_fmt,
+ m_strformat(b, blen, getmaxx(main_w), AttachFormat, mutt_attach_fmt,
_("WARNING! You are about to overwrite %s, continue?"),
body->filename);
if (mutt_yesorno (warning, M_NO) != M_YES) {
_("WARNING! You are about to overwrite %s, continue?"),
body->filename);
if (mutt_yesorno (warning, M_NO) != M_YES) {
return;
}
tempfd = m_tempfd(tfile, sizeof(tfile), NONULL(mod_core.tmpdir), NULL);
return;
}
tempfd = m_tempfd(tfile, sizeof(tfile), NONULL(mod_core.tmpdir), NULL);