RCS file: RCS/pager.c,v Working file: pager.c head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: ---------------------------- revision 1.2 date: 2008/04/11 01:51:34; author: jhawk; state: Exp; lines: +7 -0 http://dev.mutt.org/trac/ticket/2898 Opened 11 months ago Last modified 11 months ago mutt-1.5.14: mutt's pager should strip spurrious ^M, most of the time Reported by: John Hawkinson Assigned to: ---------------------------- revision 1.1 date: 2007/09/05 18:28:05; author: jhawk; state: Exp; Initial revision ============================================================================= --- pager.c 2007/09/05 18:28:05 1.1 +++ pager.c 2008/04/11 01:51:34 1.2 @@ -1175,8 +1175,15 @@ else col = t; } + else if (wc == '\r') + { + if (!option(OPTWEED)) { + goto controlchar; + } + } else if (wc < 0x20 || wc == 0x7f) { + controlchar: if (col + 2 > wrap_cols) break; col += 2;