diff options
Diffstat (limited to 'apps/pdfdraw.c')
-rw-r--r-- | apps/pdfdraw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/pdfdraw.c b/apps/pdfdraw.c index 861d2b3f..af1d5ad7 100644 --- a/apps/pdfdraw.c +++ b/apps/pdfdraw.c @@ -263,7 +263,7 @@ static void drawpage(pdf_xref *xref, int pagenum) if (showmd5 || showtime) printf("\n"); - pdf_age_store(ctx, xref->store, 3); + fz_age_store(ctx, 3); fz_flush_warnings(ctx); } @@ -362,7 +362,7 @@ int main(int argc, char **argv) if (accelerate) fz_accelerate(); - ctx = fz_new_context(&fz_alloc_default); + ctx = fz_new_context(&fz_alloc_default, FZ_STORE_UNLIMITED); if (!ctx) { fprintf(stderr, "cannot initialise context\n"); |