From d7c1e9e05297d23df3e0c921450c0752b4a19730 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 5 Jul 2010 08:46:09 +0000 Subject: Suppress duplicate "Page: 1 1" -Tps printing and instead relay on PS_NEWPAGE to do the job for us. Noted by Dillo. --- term_ps.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/term_ps.c b/term_ps.c index ff5fa130..d666e0e1 100644 --- a/term_ps.c +++ b/term_ps.c @@ -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); } -- cgit