summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-08-31 10:25:26 +0100
committerCarl Hetherington <cth@carlh.net>2017-08-31 10:25:26 +0100
commitc38a1ccce6483442846ec03aa9089c93fcef0639 (patch)
treeed1d923922c10f8ac1c1fe67e98647253b90c431 /src/lib
parentc0e4fd517192ac25c4aedc406a8a490663ec58b6 (diff)
Try to fix build wrt ImageMagick.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/magick_image_proxy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/magick_image_proxy.cc b/src/lib/magick_image_proxy.cc
index 557959105..fbb08b7b0 100644
--- a/src/lib/magick_image_proxy.cc
+++ b/src/lib/magick_image_proxy.cc
@@ -109,7 +109,7 @@ MagickImageProxy::image (optional<dcp::NoteHandler>, optional<dcp::Size>) const
are very wrong. To prevent this, set the image colour space to RGB to stop the ::colorSpace call below doing
anything. See #1123 and others.
*/
- SetImageColorspace(magick_image->image(), Magick::RGBColorspace);
+ magick_image->image()->colorspace = Magick::RGBColorspace;
}
magick_image->colorSpace(Magick::RGBColorspace);