* mdocml: Let some man_term.c cleanups bleed into man_html.c.
@ 2010-12-06 14:07 kristaps
0 siblings, 0 replies; only message in thread
From: kristaps @ 2010-12-06 14:07 UTC (permalink / raw)
To: source
Log Message:
-----------
Let some man_term.c cleanups bleed into man_html.c.
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.47
retrieving revision 1.48
diff -Lman_html.c -Lman_html.c -u -p -r1.47 -r1.48
--- man_html.c
+++ 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);
}
--
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:07 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:07 mdocml: Let some man_term.c cleanups bleed into man_html.c 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).