summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-20 15:05:34 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-20 15:05:34 +0000
commit21a0f9a1a5bc29abdffea3529d79a09932397e4a (patch)
tree4faa846232af7818300dd7ff187c8dcddda6d9b5 /mdoc_term.c
parenta230269a41845b9f72616b3c61dc910ab46e7d1a (diff)
downloadmandoc-21a0f9a1a5bc29abdffea3529d79a09932397e4a.tar.gz
Undocumented behaviour in groff: `Bl -column' implies `-compact'.
mandoc now allows fewer columns than the -width specifies.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index f6b1e583..fb3a3658 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -672,6 +672,9 @@ fmt_block_vspace(struct termp *p,
if (arg_hasattr(MDOC_Compact, bl))
return(1);
+ /* XXX - not documented! */
+ else if (arg_hasattr(MDOC_Column, bl))
+ return(1);
for (n = node; n; n = n->parent) {
if (MDOC_BLOCK != n->type)