<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #2906: space stuffed empty lines are not displayed with f=f



#2906: space stuffed empty lines are not displayed with f=f

 rfc3676_handler considers the lines consisting only of a space to have
 soft line breaks, and does not display those lines.

 If I understand the standard correctly, it should be treated as hard line
 break, and displayed. I'm using the following patch for that:
 {{{
 --- mutt-orig/rfc3676.c 2007-05-09 10:00:07.000000000 +0300
 +++ mutt/rfc3676.c      2007-06-03 18:57:12.000000000 +0300
 @@ -211,7 +211,7 @@ int rfc3676_handler (BODY * a, STATE * s

      /* we're here when last space removed because of DelSp was
       * the last space and there isn't more -> done */
 -    if ((buf_len - buf_off) < 0)
 +    if ((buf_len - buf_off) <= 0)
      {
        print_flowed_line (curline, s, quotelevel);
        *curline = '\0';
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2906>