]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 28 Jan 2017 15:20:58 +0000 (10:20 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sat, 28 Jan 2017 15:20:58 +0000 (10:20 -0500)
MagickCore/channel.c

index d2cf266c51b4290d470b34e9a07815067952ba23..066073616cc5ad8e57f8a7e8696576a78c7884d5 100644 (file)
@@ -332,6 +332,7 @@ MagickExport Image *ChannelFxImage(const Image *image,const char *expression,
     {
       case AssignChannelOp:
       {
+        destination_channel=(PixelChannel) i;
         pixel=StringToDoubleInterval(token,(double) QuantumRange+1.0);
         GetNextToken(p,&p,MagickPathExtent,token);
         break;