summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-03 22:28:21 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-03 22:28:21 +0000
commit978c841bef6356b836aa769aee366d3c5a6f64c6 (patch)
treee6240e57e397c22940b35b79c5eb04a8542a3327 /term.c
parentf64a310e2e71ac67ec7eb30da2ee82c83de8bf44 (diff)
downloadmandoc-978c841bef6356b836aa769aee366d3c5a6f64c6.tar.gz
-diag fixed (allows quoted parameters)
Versioned up.
Diffstat (limited to 'term.c')
-rw-r--r--term.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/term.c b/term.c
index 42febf65..0d3e7f1b 100644
--- a/term.c
+++ b/term.c
@@ -455,7 +455,7 @@ termp_it_pre(DECL_ARGS)
case (MDOC_Enum):
/* FALLTHROUGH */
case (MDOC_Hyphen):
- width = width > 6 ? width : 6;
+ width = width > 4 ? width : 4;
break;
case (MDOC_Tag):
if (0 == width)
@@ -469,6 +469,7 @@ termp_it_pre(DECL_ARGS)
switch (type) {
case (MDOC_Diag):
+ /* XXX - ignore child macros!? */
if (MDOC_HEAD == node->type)
TERMPAIR_SETFLAG(p, pair, ttypes[TTYPE_DIAG]);
/* FALLTHROUGH */