]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 12 May 2018 01:20:54 +0000 (21:20 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 12 May 2018 01:20:54 +0000 (21:20 -0400)
MagickCore/draw.c

index 9ae5487e5cbffb638cea28276bbd83ced590307d..fd791f6e35fea01bb08946787525642305079853 100644 (file)
@@ -6231,7 +6231,7 @@ static size_t TracePath(PrimitiveInfo *primitive_info,const char *path,
         do
         {
           GetNextToken(p,&p,MagickPathExtent,token);
-          if ((i != 0) && (*token == ','))
+          if (*token == ',')
             GetNextToken(p,&p,MagickPathExtent,token);
           x=StringToDouble(token,&next_token);
           if (token == next_token)