summaryrefslogtreecommitdiffstats
path: root/libmdocml.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-11-24 08:50:33 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-11-24 08:50:33 +0000
commita73f55c2be0ca8e1deeeb05389879a52e46f05d2 (patch)
tree9de602ac0c0ccee942761e17a89860e2fb6f14a7 /libmdocml.c
parent611a34a4d07b298d01d77338ee3a7bd338016054 (diff)
downloadmandoc-a73f55c2be0ca8e1deeeb05389879a52e46f05d2.tar.gz
Roff-line tokens parsed into char**.
Diffstat (limited to 'libmdocml.c')
-rw-r--r--libmdocml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmdocml.c b/libmdocml.c
index bb83e43a..11936f91 100644
--- a/libmdocml.c
+++ b/libmdocml.c
@@ -199,6 +199,7 @@ again:
return(md_run_leave(args, mbuf, rbuf, -1, p));
}
+ line[pos] = 0;
if ( ! (*fp)(args, mbuf, rbuf, line, pos, p))
return(md_run_leave(args, mbuf, rbuf, -1, p));
rbuf->line++;