dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A little simplification in the write interface.
[gedcom-parse.git]
/
gom
/
individual.c
diff --git
a/gom/individual.c
b/gom/individual.c
index 958cce8340f5dc797af86eb0d8140ec21ee5dbf9..6e8c3fca52bb6eee0f416d30d69621d7bb103851 100644
(file)
--- a/
gom/individual.c
+++ b/
gom/individual.c
@@
-230,8
+230,7
@@
int write_individuals(Gedcom_write_hndl hndl)
struct individual* obj;
for (obj = gom_first_individual; obj; obj = obj->next) {
struct individual* obj;
for (obj = gom_first_individual; obj; obj = obj->next) {
- result |= gedcom_write_record_str(hndl, REC_INDI, 0,
- obj->xrefstr, NULL);
+ result |= gedcom_write_record_str(hndl, REC_INDI, obj->xrefstr, NULL);
if (obj->restriction_notice)
result |= gedcom_write_element_str(hndl, ELT_INDI_RESN, 0,
REC_INDI, obj->restriction_notice);
if (obj->restriction_notice)
result |= gedcom_write_element_str(hndl, ELT_INDI_RESN, 0,
REC_INDI, obj->restriction_notice);