-/* $Id: roff.c,v 1.230 2014/10/16 01:11:20 schwarze Exp $ */
+/* $Id: roff.c,v 1.231 2014/10/16 01:28:38 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
/* Replace the delimiter with an equation macro. */
- *szp = mandoc_asprintf(&cp1, "%s\n.E%c\n\\&%s", *bufp,
- r->eqn == NULL ? 'Q' : 'N', cp2) + 1;
+ *szp = mandoc_asprintf(&cp1, "%s\n.E%s%s", *bufp,
+ r->eqn == NULL ? "Q\n" : "N\n\\&", cp2) + 1;
free(*bufp);
*bufp = cp1;