summaryrefslogtreecommitdiffstatshomepage
path: root/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'term.c')
-rw-r--r--term.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/term.c b/term.c
index 1d552adf..7888980b 100644
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.37 2009/03/03 22:17:19 kristaps Exp $ */
+/* $Id: term.c,v 1.38 2009/03/03 22:28:21 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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 */