From: Ben Pfaff Date: Sun, 14 May 2006 20:56:44 +0000 (+0000) Subject: Fix PostScript output of multiple charts. X-Git-Tag: v0.6.0~852 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2153ca9b3cb9616c616a4b58abb300de1f317541;p=pspp-builds.git Fix PostScript output of multiple charts. Thanks to John Darrington for reporting the bug. --- diff --git a/src/output/ChangeLog b/src/output/ChangeLog index 5a8cdc77..af13b4b4 100644 --- a/src/output/ChangeLog +++ b/src/output/ChangeLog @@ -1,3 +1,10 @@ +Sun May 14 13:54:58 2006 Ben Pfaff + + * postscript.c: (ps_chart_finalise) Fix format of %%EndDocument + comment, which screwed up gv's idea of where one page ended and + the next one began. Thanks to John Darrington for pointing out + the bug. + Sun Apr 16 11:48:25 2006 Ben Pfaff Start reforming error message support. In this phase, we get rid diff --git a/src/output/postscript.c b/src/output/postscript.c index d2cff2c2..f212bb20 100644 --- a/src/output/postscript.c +++ b/src/output/postscript.c @@ -1145,7 +1145,7 @@ ps_chart_finalise (struct outp_driver *this UNUSED, struct chart *ch UNUSED) continue; fclose (ch->file); - fputs ("%%%%EndDocument\n" + fputs ("%%EndDocument\n" "end\n" "sp restore\n", x->file);