[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/kmail
From:       Ingo Klöcker <kloecker () kde ! org>
Date:       2003-11-09 22:57:11
[Download RAW message or body]

CVS commit by kloecker: 

convert CRLF -> LF in bodyDecoded also in case of 7bit or 8bit cte.


  M +7 -7      kmmsgpart.cpp   1.109


--- kdepim/kmail/kmmsgpart.cpp  #1.108:1.109
@@ -274,5 +274,4 @@ QCString KMMessagePart::bodyDecoded(void
     len = oit - result.begin();
     result.truncate( len ); // adds trailing NUL
-    result = result.replace( "\r\n", "\n" );
   } else
     switch (cte())
@@ -292,4 +291,5 @@ QCString KMMessagePart::bodyDecoded(void
     }
   }
+  result = result.replace( "\r\n", "\n" ); // CRLF -> LF conversion
 
   kdWarning( result.length() != (unsigned int)len, 5006 )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic