diff options
author | Tor Andersson <tor@ghostscript.com> | 2009-03-11 01:44:12 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2009-03-11 01:44:12 +0100 |
commit | 5aaff8260abdaefdbf7a64d3e66b1928dfe5d726 (patch) | |
tree | febd7d6938978dac98dc0f7e6e501df46b6e3754 /apps/unix/x11pdf.c | |
parent | 5733fd611487151f33338b1ecda4819c26ccd25f (diff) | |
download | mupdf-5aaff8260abdaefdbf7a64d3e66b1928dfe5d726.tar.xz |
Add fz_catch function, and cause the throw/rethrow/catch functions to print the errors immediately.
Diffstat (limited to 'apps/unix/x11pdf.c')
-rw-r--r-- | apps/unix/x11pdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/unix/x11pdf.c b/apps/unix/x11pdf.c index 0b1ff37c..18507f62 100644 --- a/apps/unix/x11pdf.c +++ b/apps/unix/x11pdf.c @@ -84,7 +84,7 @@ void winwarn(pdfapp_t *app, char *msg) void winerror(pdfapp_t *app, fz_error *error) { - fz_printerror(error); + fz_catch(error, "aborting"); exit(1); } |