summaryrefslogtreecommitdiffstatshomepage
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
commit1880ea9eb39746b72959a2f1863ec8c9dfa566a1 (patch)
treeb4f93458e0f34ec7ac559071ab74221732f39414 /term.c
parentbf7b0c823358aaab5d2f765ac694a66f09d72eef (diff)
downloadmandoc-1880ea9eb39746b72959a2f1863ec8c9dfa566a1.tar.gz
mandoc-1880ea9eb39746b72959a2f1863ec8c9dfa566a1.tar.zst
mandoc-1880ea9eb39746b72959a2f1863ec8c9dfa566a1.zip
-diag fixed (allows quoted parameters)
Versioned up.
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 */