From 173216938390389c68af78518f3f521434cb66a9 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 4 Sep 2018 12:18:54 +0200 Subject: Use colorspace type enum instead of magic profile names. --- source/tools/mudraw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/tools/mudraw.c') 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"); -- cgit v1.2.3