summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-06 14:07:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-06 14:07:01 +0000
commit95aab41011a871e5471b38f2df42269f88df92ab (patch)
tree1fea31faf5b7c1190201e60f76fbf7c9ca20c8cb /man_html.c
parent13274b645b54fad1e53d48c3863ac5e457411351 (diff)
downloadmandoc-95aab41011a871e5471b38f2df42269f88df92ab.tar.gz
Let some man_term.c cleanups bleed into man_html.c.
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/man_html.c b/man_html.c
index 679c3280..8356f657 100644
--- a/man_html.c
+++ b/man_html.c
@@ -733,15 +733,11 @@ static int
man_literal_pre(MAN_ARGS)
{
- switch (n->tok) {
- case (MAN_nf):
+ if (MAN_nf == n->tok) {
print_otag(h, TAG_BR, 0, NULL);
mh->fl |= MANH_LITERAL;
- break;
- default:
+ } else
mh->fl &= ~MANH_LITERAL;
- break;
- }
return(1);
}