diff options
Diffstat (limited to 'fitz/res_bitmap.c')
-rw-r--r-- | fitz/res_bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/res_bitmap.c b/fitz/res_bitmap.c index 0b852af2..a50d0952 100644 --- a/fitz/res_bitmap.c +++ b/fitz/res_bitmap.c @@ -55,7 +55,7 @@ fz_write_pbm(fz_bitmap *bitmap, char *filename) fp = fopen(filename, "wb"); if (!fp) - return fz_throw("cannot open file '%s': %s", filename, strerror(errno)); + return fz_error_make("cannot open file '%s': %s", filename, strerror(errno)); assert(bitmap->n == 1); |