diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-30 00:19:46 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-30 00:19:46 +0000 |
commit | f29465dfd1d54259bc6dbe98b7358ddf37c74f05 (patch) | |
tree | 42ea1f6e2680fa01f63d4f50886b369c274b2a23 /roff.c | |
parent | 128c4e26d83dc0c7044e2bfea000eece5b808ae1 (diff) | |
download | mandoc-f29465dfd1d54259bc6dbe98b7358ddf37c74f05.tar.gz |
correctly handle table layout lines starting with a dot
Diffstat (limited to 'roff.c')
-rw-r--r-- | roff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |