diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-11 12:07:49 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-11 12:07:49 +0000 |
commit | 5f01cd9971ff702a524ae0b46f692bf67ec2486e (patch) | |
tree | da8e4de38776c49e96dae23505efa71e3723109a /man_term.c | |
parent | c788f866d218b1363d95abee27eec8df64a79179 (diff) | |
download | mandoc-5f01cd9971ff702a524ae0b46f692bf67ec2486e.tar.gz |
Documented some un-clear parts of main.c.
Fixed footer to be new-groff style (OS DATE OS).
Removed sanity check from mdoc_term (unnecessary).
Diffstat (limited to 'man_term.c')
-rw-r--r-- | man_term.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -292,7 +292,9 @@ pre_IP(DECL_ARGS) offs = strlen(nn->string); p->flags |= TERMP_NOSPACE; - p->offset += offs; + /* FIXME */ + if ((p->offset += offs) > p->rmargin) + errx(1, "line too long"); return(0); } |