summaryrefslogtreecommitdiff
path: root/apps/pdfdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/pdfdraw.c')
-rw-r--r--apps/pdfdraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfdraw.c b/apps/pdfdraw.c
index cc125a69..ed10baa1 100644
--- a/apps/pdfdraw.c
+++ b/apps/pdfdraw.c
@@ -409,7 +409,7 @@ int main(int argc, char **argv)
if (accelerate)
fz_accelerate();
- ctx = fz_new_context(&fz_alloc_default, 256<<20);
+ ctx = fz_new_context(NULL, 0);
if (!ctx)
{
fprintf(stderr, "cannot initialise context\n");