summaryrefslogtreecommitdiff
path: root/source/tools
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/tools
parentf825e989dc7e7e339ca525b52ea46d6ffacbacdf (diff)
downloadmupdf-173216938390389c68af78518f3f521434cb66a9.tar.xz
Use colorspace type enum instead of magic profile names.
Diffstat (limited to 'source/tools')
-rw-r--r--source/tools/mudraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c
index c219b7b0..6ca08d01 100644
--- a/source/tools/mudraw.c
+++ b/source/tools/mudraw.c
@@ -1593,7 +1593,7 @@ int mudraw_main(int argc, char **argv)
}
if (proof_filename)
- proof_cs = fz_new_icc_colorspace_from_file(ctx, NULL, proof_filename);
+ proof_cs = fz_new_icc_colorspace_from_file(ctx, FZ_COLORSPACE_NONE, proof_filename);
fz_set_text_aa_level(ctx, alphabits_text);
fz_set_graphics_aa_level(ctx, alphabits_graphics);
@@ -1757,7 +1757,7 @@ int mudraw_main(int argc, char **argv)
break;
case CS_ICC:
fz_try(ctx)
- colorspace = fz_new_icc_colorspace_from_file(ctx, NULL, icc_filename);
+ colorspace = fz_new_icc_colorspace_from_file(ctx, FZ_COLORSPACE_NONE, icc_filename);
fz_catch(ctx)
{
fprintf(stderr, "Invalid ICC destination color space\n");