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
Finish doxygen conversion of documentation.
[gedcom-parse.git]
/
gom
/
source_description.c
diff --git
a/gom/source_description.c
b/gom/source_description.c
index 65e98ac92e99bf72cb82e1cdcef40106063c490e..02d093fbeb0cd6707e71e055fa06e55c921fa4e2 100644
(file)
--- a/
gom/source_description.c
+++ b/
gom/source_description.c
@@
-47,11
+47,12
@@
Gedcom_ctxt sub_sour_caln_start(_ELT_PARAMS_)
free(desc);
}
else {
free(desc);
}
else {
- switch (ctxt->ctxt_type) {
+ int type = ctxt_type(ctxt);
+ switch (type) {
case ELT_SUB_REPO:
ADDFUNC2(source,source_description)(ctxt, desc); break;
default:
case ELT_SUB_REPO:
ADDFUNC2(source,source_description)(ctxt, desc); break;
default:
- UNEXPECTED_CONTEXT(
ctxt->ctxt_
type);
+ UNEXPECTED_CONTEXT(type);
}
result = MAKE_GOM_CTXT(elt, source_description, desc);
}
}
result = MAKE_GOM_CTXT(elt, source_description, desc);
}