summaryrefslogtreecommitdiff
path: root/source/fitz/load-tiff.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-09-04 12:18:54 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-09-05 12:52:06 +0200
commit173216938390389c68af78518f3f521434cb66a9 (patch)
tree84e890a0ffc90dcebddeff8e0baa020c94a7097b /source/fitz/load-tiff.c
parentf825e989dc7e7e339ca525b52ea46d6ffacbacdf (diff)
downloadmupdf-173216938390389c68af78518f3f521434cb66a9.tar.xz
Use colorspace type enum instead of magic profile names.
Diffstat (limited to 'source/fitz/load-tiff.c')
-rw-r--r--source/fitz/load-tiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/load-tiff.c b/source/fitz/load-tiff.c
index 3dad8a82..6e903e66 100644
--- a/source/fitz/load-tiff.c
+++ b/source/fitz/load-tiff.c
@@ -1141,7 +1141,7 @@ tiff_decode_ifd(fz_context *ctx, struct tiff *tiff)
fz_try(ctx)
{
buff = fz_new_buffer_from_copied_data(ctx, tiff->profile, tiff->profilesize);
- tiff->colorspace = fz_new_icc_colorspace(ctx, NULL, 0, buff);
+ tiff->colorspace = fz_new_icc_colorspace(ctx, FZ_COLORSPACE_NONE, buff);
}
fz_always(ctx)
fz_drop_buffer(ctx, buff);