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