summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-29 14:53:14 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-29 14:53:14 +0000
commit0e40689d4c03ea1b190df62d254677c1a81b56c2 (patch)
tree324848149cb2833182a20ba79fff946062152307 /main.c
parent8842837488a4e122906083111d6152cb80757ea5 (diff)
downloadmandoc-0e40689d4c03ea1b190df62d254677c1a81b56c2.tar.gz
Add in -Opaper=xxx support for -Tps postscript. This doesn't have any
functional changes beyond the getsubopt() parse in term_ps.c. If you want to test this (it only does -Opaper=a4 and -Opaper=letter; adding more is trivial), make sure you specify (e.g.) -sPAPERSIZE=a4 to gs(1).
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 6d3f2248..dfcc7e23 100644
--- a/main.c
+++ b/main.c
@@ -599,7 +599,7 @@ fdesc(struct curparse *curp)
curp->outfree = ascii_free;
break;
case (OUTT_PS):
- curp->outdata = ps_alloc();
+ curp->outdata = ps_alloc(curp->outopts);
curp->outfree = ps_free;
break;
default: