summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-06 14:12:48 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-06 14:12:48 +0000
commitc802814c27476c6d4d81264ca9625b111ea59241 (patch)
tree2dc07afe2441f5a3c3d2b01aec942ba77ce59365 /man_html.c
parent95aab41011a871e5471b38f2df42269f88df92ab (diff)
downloadmandoc-c802814c27476c6d4d81264ca9625b111ea59241.tar.gz
Small merges from schwarze@'s man_html.c edits.
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 8356f657..c4b24ad4 100644
--- a/man_html.c
+++ b/man_html.c
@@ -362,15 +362,11 @@ man_br_pre(MAN_ARGS)
SCALE_VS_INIT(&su, 1);
- switch (n->tok) {
- case (MAN_sp):
+ if (MAN_sp == n->tok) {
if (n->child)
a2roffsu(n->child->string, &su, SCALE_VS);
- break;
- default:
+ } else
su.scale = 0;
- break;
- }
bufcat_su(h, "height", &su);
PAIR_STYLE_INIT(&tag, h);