summaryrefslogtreecommitdiffstats
path: root/mdoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc.c')
-rw-r--r--mdoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc.c b/mdoc.c
index 26788b0a..e7f7a378 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -570,7 +570,7 @@ mdoc_word_alloc(struct mdoc *m, int line, int pos, const char *p)
struct mdoc_node *n;
n = node_alloc(m, line, pos, MDOC_MAX, MDOC_TEXT);
- n->string = mandoc_strdup(p);
+ n->string = roff_strdup(m->roff, p);
if ( ! node_append(m, n))
return(0);