summaryrefslogtreecommitdiff
path: root/source/tools/pdfshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools/pdfshow.c')
-rw-r--r--source/tools/pdfshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/pdfshow.c b/source/tools/pdfshow.c
index 2649dab1..d53b701e 100644
--- a/source/tools/pdfshow.c
+++ b/source/tools/pdfshow.c
@@ -40,7 +40,7 @@ static void showencrypt(void)
if (!doc)
fz_throw(ctx, FZ_ERROR_GENERIC, "no file specified");
- encrypt = pdf_dict_get(ctx, pdf_trailer(ctx, doc), PDF_NAME_Encrypt);
+ encrypt = pdf_dict_get(ctx, pdf_trailer(ctx, doc), PDF_NAME(Encrypt));
if (!encrypt)
fz_throw(ctx, FZ_ERROR_GENERIC, "document not encrypted");
fz_write_printf(ctx, out, "encryption dictionary\n");