From e21c4fc2107c17f654fb42f5726f610f54281045 Mon Sep 17 00:00:00 2001 From: pdmef Date: Fri, 9 Sep 2005 01:32:09 +0000 Subject: [PATCH] Rocco Rutte: - for f=f, make \r take preference over \n to line end to not get garbage for \r\n line ends git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@498 e385b8ad-14ed-0310-8656-cc95a2468c6d --- VERSION.svn | 2 +- rfc3676.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION.svn b/VERSION.svn index 1303c35..f9aaa4d 100644 --- a/VERSION.svn +++ b/VERSION.svn @@ -1 +1 @@ -497 +498 diff --git a/rfc3676.c b/rfc3676.c index 650fc50..b1a2e01 100644 --- a/rfc3676.c +++ b/rfc3676.c @@ -173,7 +173,7 @@ int rfc3676_handler (BODY * a, STATE * s) { * possibly a change in quoting level. But that's better than not * displaying it at all. */ - if ((t = strrchr (buf, '\n')) || (t = strrchr (buf, '\r'))) { + if ((t = strrchr (buf, '\r')) || (t = strrchr (buf, '\n'))) { *t = '\0'; buf_len = t - buf; } -- 2.20.1