diff options
Diffstat (limited to 'fitz/res_shade.c')
-rw-r--r-- | fitz/res_shade.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/res_shade.c b/fitz/res_shade.c index 676f375c..b13dc215 100644 --- a/fitz/res_shade.c +++ b/fitz/res_shade.c @@ -914,7 +914,7 @@ fz_process_mesh(fz_context *ctx, fz_shade *shade, const fz_matrix *ctm, else if (shade->type == FZ_MESH_TYPE7) fz_process_mesh_type7(ctx, shade, ctm, &painter); else - fz_throw(ctx, "Unexpected mesh type %d\n", shade->type); + fz_throw(ctx, FZ_ERROR_GENERIC, "Unexpected mesh type %d\n", shade->type); } static fz_rect * @@ -1006,7 +1006,7 @@ fz_bound_mesh(fz_context *ctx, fz_shade *shade, fz_rect *bbox) shade->type == FZ_MESH_TYPE7) fz_bound_mesh_type4567(ctx, shade, bbox); else - fz_throw(ctx, "Unexpected mesh type %d\n", shade->type); + fz_throw(ctx, FZ_ERROR_GENERIC, "Unexpected mesh type %d\n", shade->type); return bbox; } |