Caldav: fix VProperty parser

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1443 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-09-13 22:40:07 +00:00
parent 131a51cd55
commit c404972d37
1 changed files with 5 additions and 1 deletions

View File

@ -298,7 +298,11 @@ public class VProperty {
char c = value.charAt(i);
if (c == '\\') {
//noinspection AssignmentToForLoopParameter
c = value.charAt(++i);
i++;
if (i == value.length()) {
break;
}
c = value.charAt(i);
if (c == 'n' || c == 'N') {
c = '\n';
} else if (c == 'r') {