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 9e656e2d..f2b01daa 100644
--- a/source/tools/pdfshow.c
+++ b/source/tools/pdfshow.c
@@ -257,7 +257,7 @@ int pdfshow_main(int argc, char **argv)
fz_var(doc);
fz_try(ctx)
{
- doc = pdf_open_document_no_run(ctx, filename);
+ doc = pdf_open_document(ctx, filename);
if (pdf_needs_password(ctx, doc))
if (!pdf_authenticate_password(ctx, doc, password))
fz_warn(ctx, "cannot authenticate password: %s", filename);