summaryrefslogtreecommitdiff
path: root/fitz/res_colorspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/res_colorspace.c')
-rw-r--r--fitz/res_colorspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/res_colorspace.c b/fitz/res_colorspace.c
index e1533218..07da5a95 100644
--- a/fitz/res_colorspace.c
+++ b/fitz/res_colorspace.c
@@ -1231,7 +1231,7 @@ fz_new_indexed_colorspace(fz_context *ctx, fz_colorspace *base, int high, unsign
fz_catch(ctx)
{
fz_free(ctx, idx);
- fz_throw(ctx, "failed to create indexed colorspace");
+ fz_rethrow_message(ctx, "failed to create indexed colorspace");
}
return cs;
}