summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@netbsd.org>2010-05-15 16:18:23 +0000
committerJoerg Sonnenberger <joerg@netbsd.org>2010-05-15 16:18:23 +0000
commit435e0fb79416aa764cb4f1b197ecbe24887f3de4 (patch)
treedb54c83ce33284706e8ee9dbf8c04c6ede4465ab /main.c
parentb9297c29623c1e4db9a654cff80d1ac016fdbaee (diff)
downloadmandoc-435e0fb79416aa764cb4f1b197ecbe24887f3de4.tar.gz
Make the output width an option for ascii_alloc and use that to compute
the default margin. Hard-code 80 chars/line for now.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index d8b95c7a..fa071f48 100644
--- a/main.c
+++ b/main.c
@@ -484,7 +484,7 @@ fdesc(struct curparse *curp)
case (OUTT_LINT):
break;
default:
- curp->outdata = ascii_alloc();
+ curp->outdata = ascii_alloc(80);
curp->outman = terminal_man;
curp->outmdoc = terminal_mdoc;
curp->outfree = terminal_free;