dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a8def6
)
Fix for const correctness.
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Sun, 26 Jan 2003 09:41:04 +0000
(09:41 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Sun, 26 Jan 2003 09:41:04 +0000
(09:41 +0000)
gedcom/age.c
patch
|
blob
|
history
diff --git
a/gedcom/age.c
b/gedcom/age.c
index 9429ff870d141ccd1175c9f08aced79405d8eef6..705a237ef05730ff99486581e8ff2671eb921043 100644
(file)
--- a/
gedcom/age.c
+++ b/
gedcom/age.c
@@
-170,7
+170,8
@@
char* gedcom_age_to_string(const struct age_value* val)
switch (val->type) {
case AGE_UNRECOGNIZED:
- return val->phrase; break;
+ reset_buffer(&age_buffer);
+ safe_buf_append(&age_buffer, val->phrase); break;
case AGE_CHILD:
safe_buf_append(&age_buffer, "CHILD"); break;
case AGE_INFANT: