#3857: lines starting with a whitespace are not wrapped at a word boundary (though $smart_wrap is set) ----------------------+---------------------- Reporter: vinc17 | Owner: mutt-dev Type: defect | Status: closed Priority: minor | Milestone: Component: display | Version: 1.6.1 Resolution: fixed | Keywords: ----------------------+----------------------
Comment (by Kevin McCarthy <kevin@…>): In [changeset:"2ff00d88bcf6b5afc30067369bd8931c8a42fe88" 7183:2ff00d88bcf6]: {{{ #!CommitTicketReference repository="" revision="2ff00d88bcf6b5afc30067369bd8931c8a42fe88" Remove useless else branch in the $smart_wrap code. (see #3857) Thanks to Vincent Lefèvre for noticing the nested else was redundant, since buf_ptr is already set to "buf + cnt" after the format_line() call. This allows us to merge the inner and outer if statement, resulting in simpler code. }}} -- Ticket URL: <https://dev.mutt.org/trac/ticket/3857#comment:8> Mutt <http://www.mutt.org/> The Mutt mail user agent