]> git.cameronkatri.com Git - mandoc.git/blobdiff - term.c
-diag fixed (allows quoted parameters)
[mandoc.git] / term.c
diff --git a/term.c b/term.c
index 1d552adfa5c0b42fa8385824b745c5718c3b4f49..7888980b66f2aa8d14ce41c69f4c04a07af0f3ac 100644 (file)
--- 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 */