-/* $Id: roff.c,v 1.149 2011/07/21 15:21:13 kristaps Exp $ */
+/* $Id: roff.c,v 1.150 2011/07/23 18:41:18 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
struct eqn_node *e;
assert(NULL == r->eqn);
- e = eqn_alloc(ppos, ln, r->parse);
+ e = eqn_alloc(*bufp + pos, ppos, ln, r->parse);
if (r->last_eqn)
r->last_eqn->next = e;