From: pdmef Date: Fri, 9 Sep 2005 01:32:09 +0000 (+0000) Subject: Rocco Rutte: X-Git-Url: http://git.madism.org/?a=commitdiff_plain;ds=inline;h=e21c4fc2107c17f654fb42f5726f610f54281045;p=apps%2Fmadmutt.git 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 --- 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; }