diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-05 08:46:09 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-05 08:46:09 +0000 |
commit | d7c1e9e05297d23df3e0c921450c0752b4a19730 (patch) | |
tree | 76d2b791faf33b9a044f2987296f4a41270dac6d | |
parent | 22634796e5c7442418dc502cd33b66410663f61a (diff) | |
download | mandoc-d7c1e9e05297d23df3e0c921450c0752b4a19730.tar.gz |
Suppress duplicate "Page: 1 1" -Tps printing and instead relay on
PS_NEWPAGE to do the job for us. Noted by Dillo.
-rw-r--r-- | term_ps.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -642,14 +642,10 @@ ps_begin(struct termp *p) printf(" %s", fonts[i].name); printf("\n%%%%EndComments\n"); - printf("%%%%Page: %zu %zu\n", - p->engine.ps.pages + 1, - p->engine.ps.pages + 1); - - ps_setfont(p, TERMFONT_NONE); p->engine.ps.pscol = p->engine.ps.left; p->engine.ps.psrow = p->engine.ps.top; p->engine.ps.flags |= PS_NEWPAGE; + ps_setfont(p, TERMFONT_NONE); } |