diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-04-27 16:49:21 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-04-27 17:01:06 +0200 |
commit | ed763d50c7363af5f09d24d0e04b95ca59ff7960 (patch) | |
tree | 78744e1a57cfc908dd828d2b1eec013de3ed7d7a /source/pdf | |
parent | d6813444e1fa8c633398fa47e5c919801158eecd (diff) | |
download | mupdf-ed763d50c7363af5f09d24d0e04b95ca59ff7960.tar.xz |
Fix exception bug: rethrow without a caught exception!
Diffstat (limited to 'source/pdf')
-rw-r--r-- | source/pdf/pdf-colorspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-colorspace.c b/source/pdf/pdf-colorspace.c index 51acbca2..b6eec346 100644 --- a/source/pdf/pdf-colorspace.c +++ b/source/pdf/pdf-colorspace.c @@ -225,7 +225,7 @@ load_indexed(fz_context *ctx, pdf_document *doc, pdf_obj *array) } else { - fz_rethrow(ctx); + fz_throw(ctx, FZ_ERROR_GENERIC, "cannot parse colorspace lookup table"); } cs = fz_new_indexed_colorspace(ctx, base, high, lookup); |