summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
Diffstat (limited to 'man.c')
-rw-r--r--man.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man.c b/man.c
index b13039e8..3321bf63 100644
--- a/man.c
+++ b/man.c
@@ -322,7 +322,7 @@ man_word_alloc(struct man *m, int line, int pos, const char *word)
struct man_node *n;
n = man_node_alloc(m, line, pos, MAN_TEXT, MAN_MAX);
- n->string = mandoc_strdup(word);
+ n->string = roff_strdup(m->roff, word);
if ( ! man_node_append(m, n))
return(0);