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
Bugfix.
[gedcom-parse.git]
/
gom
/
note.c
diff --git
a/gom/note.c
b/gom/note.c
index 4443da29045f7cea460146b6f47d90e555905b1b..c6fb9e30673de6862aeea9791b49a1de7f7bbe5d 100644
(file)
--- a/
gom/note.c
+++ b/
gom/note.c
@@
-99,7
+99,7
@@
void note_subscribe()
gedcom_subscribe_to_element(ELT_SUB_CONC, sub_cont_conc_start, def_elt_end);
}
gedcom_subscribe_to_element(ELT_SUB_CONC, sub_cont_conc_start, def_elt_end);
}
-void note_add_to_note(NL_TYPE type, Gom_ctxt ctxt, char* str)
+void note_add_to_note(NL_TYPE type, Gom_ctxt ctxt, c
onst c
har* str)
{
struct note *note = SAFE_CTXT_CAST(note, ctxt);
if (note) {
{
struct note *note = SAFE_CTXT_CAST(note, ctxt);
if (note) {
@@
-125,7
+125,7
@@
void note_add_user_ref(Gom_ctxt ctxt, struct user_ref_number* ref)
LINK_CHAIN_ELT(user_ref_number, note->ref, ref);
}
LINK_CHAIN_ELT(user_ref_number, note->ref, ref);
}
-void note_set_record_id(Gom_ctxt ctxt, char *rin)
+void note_set_record_id(Gom_ctxt ctxt, c
onst c
har *rin)
{
struct note *note = SAFE_CTXT_CAST(note, ctxt);
if (note) {
{
struct note *note = SAFE_CTXT_CAST(note, ctxt);
if (note) {
@@
-171,7
+171,7
@@
struct note* gom_get_first_note()
return gom_first_note;
}
return gom_first_note;
}
-struct note* make_note_record(char* xrefstr)
+struct note* make_note_record(c
onst c
har* xrefstr)
{
struct note* note = NULL;
MAKE_CHAIN_ELT(note, gom_first_note, note);
{
struct note* note = NULL;
MAKE_CHAIN_ELT(note, gom_first_note, note);