commit | 510d06a3f7063e91993e13d546d5685048248074 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Wed Jul 06 23:43:54 2011 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Wed Jul 06 23:43:54 2011 +0000 |
tree | 20287d6d52f6a80cb334776e72cb4aa4741ddbcf | |
parent | 9ee6094d071d578bc97ad9dd4d22ccb70dfbc3db [diff] [blame] |
diff --git a/coders/hrz.c b/coders/hrz.c index cf1292c..72e2dd9 100644 --- a/coders/hrz.c +++ b/coders/hrz.c
@@ -301,7 +301,7 @@ &image->exception); if (hrz_image == (Image *) NULL) return(MagickFalse); - if (hrz_image->colorspace != RGBColorspace) + if (IsRGBColorspace(hrz_image->colorspace) == MagickFalse) (void) TransformImageColorspace(hrz_image,RGBColorspace); /* Allocate memory for pixels.