From: Peter Verthez Date: Sun, 26 Jan 2003 19:53:10 +0000 (+0000) Subject: Also write empty CONT lines. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=3d1822cb295202993c11564f7dd64442d8b67d2f;p=gedcom-parse.git Also write empty CONT lines. --- diff --git a/gedcom/write.c b/gedcom/write.c index eb7f5d6..ed17f13 100644 --- a/gedcom/write.c +++ b/gedcom/write.c @@ -165,7 +165,7 @@ int write_long(Gedcom_write_hndl hndl, int elt_or_rec, if (line_len < value_len) { value_ptr = value_ptr + line_len; value_len = value_len - line_len; - while (*value_ptr == '\n') { + if (*value_ptr == '\n') { value_ptr++; value_len--; }