summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-13 21:02:48 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-13 21:02:48 +0000
commit5a0dd4748ed706df837d91eb3c47b30b2e60f77c (patch)
treeffb612fcbc568640a557dece05e80032a4bdd090 /mdoc_term.c
parent4da8bd9909c0dfc7c512cd675b156915135c8088 (diff)
downloadmandoc-5a0dd4748ed706df837d91eb3c47b30b2e60f77c.tar.gz
Allow -width for lists to be cached in mdoc_bl. This requires some
trickery because widths may be on-the-fly recalculated. I don't like how these are split between mdoc_action.c and mdoc_validate.c, but for the time being, it'll do.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index ecf8ad34..b284d37e 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -731,6 +731,7 @@ termp_it_pre(DECL_ARGS)
* handling for column for how this changes.
*/
width = a2width(&bl->args->argv[vals[0]], 0) + 2;
+ assert(bl->data.Bl.width);
break;
}