- m_strformat(b, blen, COLS - SW, AttachFormat, mutt_attach_fmt,
- ((ATTACHPTR **) menu->data)[num],
- option(OPTARROWCURSOR) ? M_FORMAT_ARROWCURSOR : 0);
+ m_strformat(b, blen, getmaxx(main_w), AttachFormat, mutt_attach_fmt,
+ ((ATTACHPTR **) menu->data)[num], 0);