Carddav: Skip carriage return in ICSBufferedWriter

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1924 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2012-02-22 22:47:37 +00:00
parent d7f442e106
commit 9469f7eee4
1 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,8 @@ public class ICSBufferedWriter {
char c = value.charAt(i);
if (c == '\n') {
buffer.append("\\n");
} else {
// skip carriage return
} else if (c != '\r') {
buffer.append(value.charAt(i));
}
}