summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
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);
}