summaryrefslogtreecommitdiff
path: root/source/tools/pdfinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools/pdfinfo.c')
-rw-r--r--source/tools/pdfinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/tools/pdfinfo.c b/source/tools/pdfinfo.c
index 41989982..660c015e 100644
--- a/source/tools/pdfinfo.c
+++ b/source/tools/pdfinfo.c
@@ -982,6 +982,7 @@ pdfinfo_info(fz_context *ctx, fz_output *out, char *filename, char *password, in
globals glo = { 0 };
glo.out = out;
+ glo.ctx = ctx;
state = NO_FILE_OPENED;
while (argidx < argc)