diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-03 22:28:21 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-03 22:28:21 +0000 |
commit | 1880ea9eb39746b72959a2f1863ec8c9dfa566a1 (patch) | |
tree | b4f93458e0f34ec7ac559071ab74221732f39414 /term.c | |
parent | bf7b0c823358aaab5d2f765ac694a66f09d72eef (diff) | |
download | mandoc-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.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 */ |