]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 26 May 2012 01:17:56 +0000 (01:17 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 26 May 2012 01:17:56 +0000 (01:17 +0000)
MagickCore/delegate.c

index bea7d92e7e40ffc96a34ed6d64486f147ca0cd80..258718f3def2123fe03e8c76bda608ff8acd5113 100644 (file)
@@ -1049,11 +1049,8 @@ MagickExport MagickBooleanType InvokeDelegate(ImageInfo *image_info,
               Wait for input file to 'disappear', or maximum 5 secs.
             */
             count=50;
-            while ((count > 0) && (access_utf8(image->filename,F_OK) == 0))
-            {
+            while ((count-- > 0) && (access_utf8(image->filename,F_OK) == 0))
               (void) MagickDelay(100000);  /* sleep 0.1 seconds */
-              count--;
-            }
           }
         command=DestroyString(command);
       }