]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 28 Apr 2011 20:34:30 +0000 (20:34 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 28 Apr 2011 20:34:30 +0000 (20:34 +0000)
coders/xcf.c

index 963b889c9b65b1df70dd838e1944223c01c1cb26..b0cea287784ab711e0e5725bc5d88690646805ba 100644 (file)
@@ -52,6 +52,7 @@
 #include "magick/list.h"
 #include "magick/magick.h"
 #include "magick/memory_.h"
+#include "magick/pixel.h"
 #include "magick/quantize.h"
 #include "magick/quantum-private.h"
 #include "magick/static.h"
@@ -535,7 +536,7 @@ static MagickBooleanType load_tile_rle(Image *image,Image *tile_image,
               {
                 case 0:
                 {
-                  SetReadPixelComponent(q,ScaleCharToQuantum(data));
+                  SetRedPixelComponent(q,ScaleCharToQuantum(data));
                   if (inDocInfo->image_type == GIMP_GRAY)
                     {
                       SetGreenPixelComponent(q,ScaleCharToQuantum(data));