aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit6b2defb0f921c22df14e94ce0098640d4401303e (patch)
treeb4088b5d8253e5f241001d599644d414ecfd56bd /xstd.c
parenta454003ad67073a51037d0dc5dcbf5b3cced1b8e (diff)
downloadmandoc-6b2defb0f921c22df14e94ce0098640d4401303e.tar.gz
mandoc-6b2defb0f921c22df14e94ce0098640d4401303e.tar.zst
mandoc-6b2defb0f921c22df14e94ce0098640d4401303e.zip
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xstd.c b/xstd.c
index d41cb696..787dd11c 100644
--- a/xstd.c
+++ b/xstd.c
@@ -1,4 +1,4 @@
-/* $Id: xstd.c,v 1.7 2009/03/06 14:13:47 kristaps Exp $ */
+/* $Id: xstd.c,v 1.8 2009/03/08 11:41:22 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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))