From: cristy Date: Mon, 27 Aug 2012 00:07:56 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5056 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=791e079ebaf1a2f7496abf005395ecfc8eb657bf;p=imagemagick --- diff --git a/MagickCore/pixel-accessor.h b/MagickCore/pixel-accessor.h index 7066bbac9..d1dd49085 100644 --- a/MagickCore/pixel-accessor.h +++ b/MagickCore/pixel-accessor.h @@ -574,19 +574,19 @@ static inline void SetPixelChannel(const Image *restrict image, pixel[image->channel_map[channel].offset]=quantum; } -static inline void SetPixelChannelChannel(const Image *restrict image, - const PixelChannel channel,const ssize_t offset) +static inline void SetPixelChannelAttributes(const Image *restrict image, + const PixelChannel channel,const PixelTrait traits,const ssize_t offset) { image->channel_map[offset].channel=channel; image->channel_map[channel].offset=offset; + image->channel_map[channel].traits=traits; } -static inline void SetPixelChannel(const Image *restrict image, - const PixelChannel channel,const PixelTrait traits,const ssize_t offset) +static inline void SetPixelChannelChannel(const Image *restrict image, + const PixelChannel channel,const ssize_t offset) { image->channel_map[offset].channel=channel; image->channel_map[channel].offset=offset; - image->channel_map[channel].traits=traits; } static inline void SetPixelChannels(Image *image,const size_t number_channels)