-/* $Id: man.c,v 1.110 2011/07/27 12:43:02 kristaps Exp $ */
+/* $Id: man.c,v 1.111 2011/07/28 14:17:11 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
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);