]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 24 May 2010 18:23:54 +0000 (18:23 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 24 May 2010 18:23:54 +0000 (18:23 +0000)
magick/morphology.c

index e7427a5f20583f634e84b1bc605dc082ae61aea0..cdbd32bbbfff94d0ae845cfcd949194ab3612ef3 100644 (file)
@@ -1863,19 +1863,19 @@ static MagickBooleanType SameKernelInfo(const KernelInfo *kernel1,
 static void ExpandKernelInfo(KernelInfo *kernel, const double angle)
 {
   KernelInfo
-    *new,
+    *clone,
     *last;
 
   last = kernel;
   while(1) {
-    new = CloneKernelInfo(last);
-    RotateKernelInfo(new, angle);
-    if ( SameKernelInfo(kernel, new) == MagickTrue )
+    clone = CloneKernelInfo(last);
+    RotateKernelInfo(clone, angle);
+    if ( SameKernelInfo(kernel, clone) == MagickTrue )
       break;
-    last->next = new;
-    last = new;
+    last->next = clone;
+    last = clone;
   }
-  new = DestroyKernelInfo(new); /* This was the same as the first - junk */
+  clone = DestroyKernelInfo(clone); /* This was the same as the first - junk */
   return;
 }
 \f