diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-06 14:07:01 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-06 14:07:01 +0000 |
commit | 29e0509b544d6b05f417032a73168abf89fcbda6 (patch) | |
tree | 7f0f7158b85366b9724267ac25947c6dfc63dbfb | |
parent | 67d3a9ba7381a8d6d59bd1938ad074190c96349a (diff) | |
download | mandoc-29e0509b544d6b05f417032a73168abf89fcbda6.tar.gz mandoc-29e0509b544d6b05f417032a73168abf89fcbda6.tar.zst mandoc-29e0509b544d6b05f417032a73168abf89fcbda6.zip |
Let some man_term.c cleanups bleed into man_html.c.
-rw-r--r-- | man_html.c | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.47 2010/12/06 13:53:07 kristaps Exp $ */ +/* $Id: man_html.c,v 1.48 2010/12/06 14:07:01 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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); } |