diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-06 14:05:12 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-06 14:05:12 +0000 |
commit | 155a72059b51f4f20eaf395fb76dafc9db700d61 (patch) | |
tree | 61b32925e9d4ebe6ec0f48d0a2b50ac3f430fb1b /mdoc_term.c | |
parent | 27bc0e15fefdbeee9b80753ad8d540d3a24fedef (diff) | |
download | mandoc-155a72059b51f4f20eaf395fb76dafc9db700d61.tar.gz |
Make -literal displays only have 8-character displays. From a
low-hanging TODO added by schwarze@ on 15/08/10.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 48551056..aa8b00f4 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1599,7 +1599,9 @@ termp_bd_pre(DECL_ARGS) return(1); tabwidth = p->tabwidth; - p->tabwidth = term_len(p, 8); + if (DISP_literal == n->norm->Bd.type) + p->tabwidth = term_len(p, 8); + rm = p->rmargin; rmax = p->maxrmargin; p->rmargin = p->maxrmargin = TERM_MAXMARGIN; |