]> granicus.if.org Git - imagemagick/commitdiff
Fix LBR01 macros (with extra parameter used in IM7)
authorglennrp <glennrp@git.imagemagick.org>
Sun, 6 Jan 2013 01:32:16 +0000 (01:32 +0000)
committerglennrp <glennrp@git.imagemagick.org>
Sun, 6 Jan 2013 01:32:16 +0000 (01:32 +0000)
coders/png.c

index 16a4144f8c857fa4e891ce51d9fbdfe74b29274c..51fdfc07abe41a07910d106422189c659078a4d5 100644 (file)
 #define LBR01PixelRed(pixel) \
         (SetPixelRed(image, \
         ScaleQuantumToChar(GetPixelRed(image,(pixel))) < 0x10 ? \
-        0 : QuantumRange));
+        0 : QuantumRange,(pixel)));
 
 #define LBR01PixelGreen(pixel) \
         (SetPixelGreen(image, \
         ScaleQuantumToChar(GetPixelGreen(image,(pixel))) < 0x10 ? \
-        0 : QuantumRange));
+        0 : QuantumRange,(pixel)));
 
 #define LBR01PixelBlue(pixel) \
         (SetPixelBlue(image, \
         ScaleQuantumToChar(GetPixelBlue(image,(pixel))) < 0x10 ? \
-        0 : QuantumRange));
+        0 : QuantumRange,(pixel)));
 
 #define LBR01PixelAlpha(pixel) \
         (SetPixelAlpha(image, \
         ScaleQuantumToChar(GetPixelAlpha(image,(pixel))) < 0x10 ? \
-        0 : QuantumRange));
+        0 : QuantumRange,(pixel)));
 
 #define LBR01PixelRGB(pixel) \
         { \