summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Postscript.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Postscript.cxx b/src/Postscript.cxx
index c698030..64ebeb7 100644
--- a/src/Postscript.cxx
+++ b/src/Postscript.cxx
@@ -311,7 +311,7 @@ void PSWriter::write_main_block(FILE *out) {
tag_format = PS_TAG_FORMAT;
fprintf(out, "\n");
- fprintf(out, ps_header());
+ fprintf(out, "%s", ps_header());
for (int i = 1; i<pse->get_max_pages(); i++) {
if (pse->get_text(i)) {
@@ -321,7 +321,7 @@ void PSWriter::write_main_block(FILE *out) {
}
}
- fprintf(out, ps_trailer());
+ fprintf(out, "%s", ps_trailer());
fprintf(out, "\n");
fprintf(out, "%s", PSEDIT_END);
fprintf(out, "\n");