]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 7 May 2013 01:22:46 +0000 (01:22 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 7 May 2013 01:22:46 +0000 (01:22 +0000)
MagickCore/gem-private.h

index d5b9f888fcec2b80a287e97c5fde0cf6ddc7b289..79d7179cf691d97e557a04f5b059e3be493bb6c1 100644 (file)
@@ -204,7 +204,7 @@ static inline void ConvertXYZToRGB(const double X,const double Y,const double Z,
   assert(green != (double *) NULL);
   assert(blue != (double *) NULL);
   r=3.2406*X-1.5372*Y-0.4986*Z;
-  g=(-0.9689*X+1.8758*Y+0.0415*Z);
+  g=(-0.9689)*X+1.8758*Y+0.0415*Z;
   b=0.0557*X-0.2040*Y+1.0570*Z;
   *red=EncodePixelGamma(QuantumRange*r);
   *green=EncodePixelGamma(QuantumRange*g);