From: cristy Date: Thu, 28 Apr 2011 20:34:30 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~7619 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c602982201e135e14c1b8599eb945227475ec53b;p=imagemagick --- diff --git a/coders/xcf.c b/coders/xcf.c index 963b889c9..b0cea2877 100644 --- a/coders/xcf.c +++ b/coders/xcf.c @@ -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));