Also write empty CONT lines.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 26 Jan 2003 19:53:10 +0000 (19:53 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 26 Jan 2003 19:53:10 +0000 (19:53 +0000)
gedcom/write.c

index eb7f5d67ed2c0fb56d90458fa49707bf8b4d83a3..ed17f1380e1ed615242dca6d25a3bff7c6122ee8 100644 (file)
@@ -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--;
          }