summaryrefslogtreecommitdiffstats
path: root/xstd.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 11:41:22 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 11:41:22 +0000
commit056d0c68fbd56e3ce25fe3ad8c58ade0ab30a1b4 (patch)
treea2b977b6c334b960dc3df02e4f402667e9314030 /xstd.c
parent7024ee7ca35a8033dee9ec0936cd2f3e0251aca2 (diff)
downloadmandoc-056d0c68fbd56e3ce25fe3ad8c58ade0ab30a1b4.tar.gz
BROKEN CHECK-IN. Wide-ranging updates.
Removed libmdoc internal argv limit (all dynamic). Removed "data" union in mdoc_node (to be selectively re-added).
Diffstat (limited to 'xstd.c')
-rw-r--r--xstd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xstd.c b/xstd.c
index 66aba8bd..8326aa2e 100644
--- a/xstd.c
+++ b/xstd.c
@@ -103,7 +103,7 @@ xstrlcpys(char *buf, const struct mdoc_node *n, size_t sz)
for ( ; n; n = n->next) {
assert(MDOC_TEXT == n->type);
- p = n->data.text.string;
+ p = n->string;
if ( ! xstrlcat(buf, p, sz))
return(0);
if (n->next && ! xstrlcat(buf, " ", sz))