diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-22 12:38:07 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-22 12:38:07 +0000 |
commit | 101796b4d79943845f21342db70d90db02e715a4 (patch) | |
tree | 9ffa023a73c40db2bb6100d3a2db75d43f4dd305 /mdoc_term.c | |
parent | 18f369698f06fa3b0fb07a981d798daafdfc239f (diff) | |
download | mandoc-101796b4d79943845f21342db70d90db02e715a4.tar.gz |
Noted .Cd tabs-ok issue (will fix later).
Added single space to -diag lists.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index f1f28e7c..89da4318 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -776,12 +776,14 @@ termp_it_pre(DECL_ARGS) /* FALLTHROUGH */ case (MDOC_Dash): /* FALLTHROUGH */ - case (MDOC_Enum): - /* FALLTHROUGH */ case (MDOC_Hyphen): if (width < 4) width = 4; break; + case (MDOC_Enum): + if (width < 5) + width = 5; + break; case (MDOC_Tag): if (0 == width) width = 10; @@ -791,11 +793,13 @@ termp_it_pre(DECL_ARGS) } /* - * Whitespace control. Inset bodies need an initial space. + * Whitespace control. Inset bodies need an initial space, + * while diagonal bodies need two. */ switch (type) { case (MDOC_Diag): + term_word(p, "\\ "); /* FALLTHROUGH */ case (MDOC_Inset): if (MDOC_BODY == node->type) |