summaryrefslogtreecommitdiff
path: root/gs/base/gdevpdfu.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/base/gdevpdfu.c')
-rw-r--r--gs/base/gdevpdfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/base/gdevpdfu.c b/gs/base/gdevpdfu.c
index dfebc60b0..2d8564574 100644
--- a/gs/base/gdevpdfu.c
+++ b/gs/base/gdevpdfu.c
@@ -1021,7 +1021,7 @@ stream_to_none(gx_device_pdf * pdev)
pdf_end_encrypt(pdev);
s = pdev->strm;
length = pdf_stell(pdev) - pdev->contents_pos;
- if (pdev->PDFA)
+ if (pdev->PDFA != 0)
stream_puts(s, "\n");
stream_puts(s, "endstream\n");
pdf_end_obj(pdev, resourceStream);