From f29465dfd1d54259bc6dbe98b7358ddf37c74f05 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 30 Jan 2015 00:19:46 +0000 Subject: correctly handle table layout lines starting with a dot --- roff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit