summaryrefslogtreecommitdiffstats
path: root/xstd.c
diff options
context:
space:
mode:
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))