X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/28d410a5b5d16d8adbf96aaae4ef71d0ae938144..dc45d01e3b93c2c2dedc33795c6a00a7a6d71542:/mdoc.c?ds=inline diff --git a/mdoc.c b/mdoc.c index 2808326a..b2018205 100644 --- a/mdoc.c +++ b/mdoc.c @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.194 2011/07/27 12:43:02 kristaps Exp $ */ +/* $Id: mdoc.c,v 1.195 2011/07/28 14:17:11 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -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);