diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-04-15 10:31:01 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-04-15 10:31:01 +0000 |
commit | 980eec0e86e461e8d9899864e5f2b87c53c3f172 (patch) | |
tree | 4115e89025c8ec5eba98f7aa901e3919c8bfb619 /usr.bin/mandoc/man_html.c | |
parent | e801a96c6b02f2ad1ad92a0e4e243aa7d2af9778 (diff) |
Two bugfixes regarding the -width and -offset macro arguments:
1) They consume the next argument even if it starts with a dash.
2) When -width is the last argument on the line such that the
actual width argument is missing, downgrade from a fatal to a
non-fatal error, just like for -offset. The formatting still
doesn't agree with groff, but at least we don't die any longer.
Item 2 was observed and that part of the patch coded by kristaps@,
who found lots of instances of this particular formatting error
in Mac OSX manuals.
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
0 files changed, 0 insertions, 0 deletions