* mdocml: In -Tman .Bl -compact, skip the blank line only before the first
@ 2012-07-14 9:07 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2012-07-14 9:07 UTC (permalink / raw)
To: source
Log Message:
-----------
In -Tman .Bl -compact, skip the blank line only before the first item
of the first list in a section, not before every item of the first list.
OpenBSD rev. 1.37
Modified Files:
--------------
mdocml:
mdoc_man.c
Revision Data
-------------
Index: mdoc_man.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_man.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -Lmdoc_man.c -Lmdoc_man.c -u -p -r1.38 -r1.39
--- mdoc_man.c
+++ mdoc_man.c
@@ -1116,7 +1116,8 @@ pre_it(DECL_ARGS)
outflags |= MMAN_PP | MMAN_nl;
bln = n->parent->parent;
if (0 == bln->norm->Bl.comp ||
- NULL == bln->parent->prev)
+ (NULL == n->parent->prev &&
+ NULL == bln->parent->prev))
outflags |= MMAN_sp;
outflags &= ~MMAN_br;
switch (bln->norm->Bl.type) {
--
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:[~2012-07-14 9:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-14 9:07 mdocml: In -Tman .Bl -compact, skip the blank line only before the first schwarze
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).