X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/bf7b0c823358aaab5d2f765ac694a66f09d72eef..1880ea9eb39746b72959a2f1863ec8c9dfa566a1:/term.c 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 * @@ -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 */