summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/roff.c b/roff.c
index 0edc7e7b..79c40c83 100644
--- a/roff.c
+++ b/roff.c
@@ -1202,7 +1202,7 @@ roff_parseln(struct roff *r, int ln, struct buf *buf, int *offs)
if (r->eqn != NULL)
return(eqn_read(&r->eqn, ln, buf->buf, ppos, offs));
if (r->tbl != NULL && ( ! ctl || buf->buf[pos] == '\0'))
- return(tbl_read(r->tbl, ln, buf->buf, pos));
+ return(tbl_read(r->tbl, ln, buf->buf, ppos));
if ( ! ctl)
return(roff_parsetext(buf, pos, offs));