]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 25 Apr 2011 17:04:09 +0000 (17:04 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 25 Apr 2011 17:04:09 +0000 (17:04 +0000)
coders/mat.c

index 0534abfdcc571d834164ffbad6918684cdbc5cd9..97309c64f37883e88e013679a8630736a8158db0 100644 (file)
@@ -202,7 +202,7 @@ static void InsertComplexDoubleRow(double *p, int y, Image * image, double MinVa
         SetRedPixelComponent(q,QuantumRange);
       else
         SetRedPixelComponent(q,GetRedPixelComponent(q)+(int) f);
-      if ((int) f / 2.0 > GetGreenPixelCompoment(q))
+      if ((int) f / 2.0 > GetGreenPixelComponent(q))
         {
           SetGreenPixelComponent(q,0);
           SetBluePixelComponent(q,0);