diff options
-rw-r--r-- | wr/write-ps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wr/write-ps.c b/wr/write-ps.c index b1a2877..0303ee6 100644 --- a/wr/write-ps.c +++ b/wr/write-ps.c @@ -60,7 +60,7 @@ static const char *footer = "showpage\n" "end\n" "origstate restore\n" -"%%%%Trailer\n"; +"%%Trailer\n"; /* taken from xwd2ps, ftp://ftp.x.org/R5contrib/xwd2ps.tar.Z */ static const char *ColorImage = @@ -458,7 +458,7 @@ ps_write(FILE *fp, struct ida_image *img) fprintf(fp,"\n"); } } - fprintf(fp,footer); + fprintf(fp, "%s", footer); return 0; } |