diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-09-20 15:50:07 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-09-20 15:50:07 +0200 |
commit | 99ba154018b7c4a2c47b4c7e721ffe6d9164f9f3 (patch) | |
tree | 228cdc9d4c1af8caa3e815bc43441b0a1a551f5b /apps/x11_main.c | |
parent | b51ef0eea028c73b6379e832eaa34fff3fbbb927 (diff) | |
download | mupdf-99ba154018b7c4a2c47b4c7e721ffe6d9164f9f3.tar.xz |
Reshuffle exception context code to fit Tor's aesthetic sense.
Diffstat (limited to 'apps/x11_main.c')
-rw-r--r-- | apps/x11_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/x11_main.c b/apps/x11_main.c index f0f4f66d..a8c92074 100644 --- a/apps/x11_main.c +++ b/apps/x11_main.c @@ -584,7 +584,7 @@ int main(int argc, char **argv) if (accelerate) fz_accelerate(); - ctx = fz_context_init(&fz_alloc_default); + ctx = fz_new_context(&fz_alloc_default); if (ctx == NULL) { fprintf(stderr, "failed to initialise context"); @@ -750,7 +750,7 @@ int main(int argc, char **argv) XCloseDisplay(xdpy); - fz_context_fin(ctx); + fz_free_context(ctx); return 0; } |