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:
ab4836d
)
Don't break for CONC on a space boundary.
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Mon, 27 Jan 2003 17:54:57 +0000
(17:54 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Mon, 27 Jan 2003 17:54:57 +0000
(17:54 +0000)
gedcom/write.c
patch
|
blob
|
history
diff --git
a/gedcom/write.c
b/gedcom/write.c
index ed17f1380e1ed615242dca6d25a3bff7c6122ee8..6e186b7b8c612d444d9895cfa7622df67288a36a 100644
(file)
--- a/
gedcom/write.c
+++ b/
gedcom/write.c
@@
-154,8
+154,13
@@
int write_long(Gedcom_write_hndl hndl, int elt_or_rec,
if (prefix_len + line_len + term_len > MAXWRITELEN) {
line_len = MAXWRITELEN - prefix_len - term_len;
- if (!cont_as_conc)
+ if (!cont_as_conc)
{
cont_tag = "CONC";
+ while (value_ptr[line_len] == ' '
+ || value_ptr[line_len-1] == ' ') {
+ line_len--;
+ }
+ }
}
memset(value_part, 0, sizeof(value_part));