diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-07 10:52:44 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-07 10:52:44 +0000 |
commit | 82cd5e1a1b788d7b87b54cabf8843606475da964 (patch) | |
tree | 9577d3959d01c94af1d4c069e3c948ba92a3cd98 /main.c | |
parent | 33883780dab2d66bcefd61599b61e4947f88a2db (diff) | |
download | mandoc-82cd5e1a1b788d7b87b54cabf8843606475da964.tar.gz mandoc-82cd5e1a1b788d7b87b54cabf8843606475da964.tar.zst mandoc-82cd5e1a1b788d7b87b54cabf8843606475da964.zip |
Add -Owidth=width option to mandoc -Tascii. Asked for by joerg@ about a
thousand years ago. Note that this is normalised to >=60.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.83 2010/06/06 20:44:53 joerg Exp $ */ +/* $Id: main.c,v 1.84 2010/06/07 10:52:44 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -601,7 +601,7 @@ fdesc(struct curparse *curp) case (OUTT_LINT): break; default: - curp->outdata = ascii_alloc(80); + curp->outdata = ascii_alloc(curp->outopts); curp->outman = terminal_man; curp->outmdoc = terminal_mdoc; curp->outfree = terminal_free; |