Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Fri, 9 Sep 2005 01:32:09 +0000 (01:32 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Fri, 9 Sep 2005 01:32:09 +0000 (01:32 +0000)
- 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
rfc3676.c

index 1303c35..f9aaa4d 100644 (file)
@@ -1 +1 @@
-497
+498
index 650fc50..b1a2e01 100644 (file)
--- 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;
     }