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