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
More doxygen generation.
[gedcom-parse.git]
/
gom
/
place.c
diff --git
a/gom/place.c
b/gom/place.c
index 38ff377481d2330b1caef10a37bceac70addb1b4..779ea87881591a1c558d9fd06df7efe53aeb7840 100644
(file)
--- a/
gom/place.c
+++ b/
gom/place.c
@@
-50,7
+50,8
@@
Gedcom_ctxt sub_place_start(_ELT_PARAMS_)
free(place);
}
else {
free(place);
}
else {
- switch (ctxt->ctxt_type) {
+ int type = ctxt_type(ctxt);
+ switch (type) {
case ELT_SUB_FAM_EVT:
case ELT_SUB_FAM_EVT_EVEN:
case ELT_SUB_INDIV_ATTR:
case ELT_SUB_FAM_EVT:
case ELT_SUB_FAM_EVT_EVEN:
case ELT_SUB_INDIV_ATTR:
@@
-61,7
+62,7
@@
Gedcom_ctxt sub_place_start(_ELT_PARAMS_)
case ELT_SUB_INDIV_EVEN:
ADDFUNC2_NOLIST(event,place)(ctxt, place); break;
default:
case ELT_SUB_INDIV_EVEN:
ADDFUNC2_NOLIST(event,place)(ctxt, place); break;
default:
- UNEXPECTED_CONTEXT(
ctxt->ctxt_
type);
+ UNEXPECTED_CONTEXT(type);
}
result = MAKE_GOM_CTXT(elt, place, place);
}
}
result = MAKE_GOM_CTXT(elt, place, place);
}