diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-22 16:10:52 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-22 16:10:52 +0000 |
commit | 61bc2c623cae2e83cbc5b4943f27f51f9d83661d (patch) | |
tree | dd17546d6e0a73a56c7b9a3d0961b6b9e1336583 /mdoc_term.c | |
parent | dbb01418d6ad55a6f9f2cd4b79fd04c58447e8bc (diff) | |
download | mandoc-61bc2c623cae2e83cbc5b4943f27f51f9d83661d.tar.gz |
Fix segfault in -Thtml column lists.
Added some more UTF-8 chars.
mandoc_char.7 now has all special characters rendered.
Fixed column layout in -Thtml.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 72ec9ec4..0b270fa3 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -762,13 +762,13 @@ termp_it_pre(DECL_ARGS) * last column case, set to stretch to the margin). */ for (i = 0, n = node->prev; n && - i < (int)bl->args[vals[2]].argv->sz; + i < (int)bl->args->argv[vals[2]].sz; n = n->prev, i++) offset += arg_width (&bl->args->argv[vals[2]], i); /* Whether exceeds maximum column. */ - if (i < (int)bl->args[vals[2]].argv->sz) + if (i < (int)bl->args->argv[vals[2]].sz) width = arg_width(&bl->args->argv[vals[2]], i); else width = 0; |