Cleaned up error handling on dates.
[gedcom-parse.git] / gedcom / write.c
index f096c88b88f5ba4dd3ae5060f7cf9547438365b0..f0b1529ca8ca9271d107dbf1cc69aa98bca241c6 100644 (file)
@@ -155,7 +155,7 @@ int write_long(Gedcom_write_hndl hndl, int elt_or_rec,
     int cont_supported = supports_continuation(elt_or_rec, OPT_CONT);
     int cont_as_conc   = supports_continuation(elt_or_rec, OPT_CONT_AS_CONC);
     if (nl_pos && !cont_supported) {
-      gedcom_error (_("The tag %s doesn't support newlines\n"), tag);
+      gedcom_error (_("The tag %s doesn't support newlines"), tag);
       return 1;
     }
     else {
@@ -311,7 +311,7 @@ char* get_tag_string(int elt_or_rec, int tag)
     }
   }
   else {
-    gedcom_error(_("The element or record type '%s' requires a specific tag"
+    gedcom_error(_("The element or record type '%s' requires a specific tag "
                   "for writing"),
                 tag_data[elt_or_rec].elt_name);
     return NULL;