source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Small merges from schwarze@'s man_html.c edits.
@ 2010-12-06 14:12 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2010-12-06 14:12 UTC (permalink / raw)
  To: source

Log Message:
-----------
Small merges from schwarze@'s man_html.c edits.

Modified Files:
--------------
    mdocml:
        man_html.c

Revision Data
-------------
Index: man_html.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man_html.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -Lman_html.c -Lman_html.c -u -p -r1.48 -r1.49
--- man_html.c
+++ 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);
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-06 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-06 14:12 mdocml: Small merges from schwarze@'s man_html.c edits kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).