diff options
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |