]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 8 Mar 2012 17:40:34 +0000 (17:40 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 8 Mar 2012 17:40:34 +0000 (17:40 +0000)
MagickCore/channel.c

index 07fb50a3e063cc1f526f58a867f440624ea60bca..40c8aa6a5b648e3f2e5740868b06811658b304e6 100644 (file)
@@ -329,7 +329,7 @@ MagickExport Image *ChannelFxImage(const Image *image,const char *expression,
     {
       case AssignChannelOp:
       {
-        pixel=StringToDouble(token);
+        pixel=StringToDouble(token,(char **) NULL);
         GetMagickToken(p,&p,token);
         break;
       }