summaryrefslogtreecommitdiffstats
path: root/src/vobject/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/vobject/lib.rs')
-rw-r--r--src/vobject/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vobject/lib.rs b/src/vobject/lib.rs
index dfec0a8..38f8319 100644
--- a/src/vobject/lib.rs
+++ b/src/vobject/lib.rs
@@ -291,7 +291,7 @@ pub fn fold_line(s: &str) -> String {
let mut rv = String::new();
for (i, c) in s.chars().enumerate() {
rv.push(c);
- if i % 75 == 0 {
+ if i != 0 && i % 75 == 0 {
rv.push_str("\r\n ");
};
};