X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fsource.c;h=024fa23287a92ae98f18366971bed7b5d084e6a3;hb=f110a9eb416fe4d8824be87b46cf4c50ba927088;hp=2f353973d18fae5b840862ac9fca801f8cff23a0;hpb=082066d0c776403b70c366f9a7d1333c7a9fac15;p=gedcom-parse.git diff --git a/gom/source.c b/gom/source.c index 2f35397..024fa23 100644 --- a/gom/source.c +++ b/gom/source.c @@ -190,8 +190,7 @@ int write_sources(Gedcom_write_hndl hndl) struct source* obj; for (obj = gom_first_source; obj; obj = obj->next) { - result |= gedcom_write_record_str(hndl, REC_SOUR, 0, - obj->xrefstr, NULL); + result |= gedcom_write_record_str(hndl, REC_SOUR, obj->xrefstr, NULL); if (obj->data.event || obj->data.agency || obj->data.note) result |= gedcom_write_element_str(hndl, ELT_SOUR_DATA, 0, REC_SOUR, NULL);