]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 29 Apr 2012 13:38:05 +0000 (13:38 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 29 Apr 2012 13:38:05 +0000 (13:38 +0000)
MagickCore/utility.c

index 1e8c753501a1698fd4d5dbf3a327d99acf2f5227..3de0414b77bc667cb9bd24b40e86b7d4ee7dd3ff 100644 (file)
@@ -792,9 +792,9 @@ MagickExport MagickBooleanType ExpandFilenames(int *number_arguments,
         (LocaleCompare(magick,"PANGO") == 0) ||
         (LocaleCompare(magick,"VID") == 0))
       continue;
-    if ((IsGlob(filename) == MagickFalse) && (*filename != '@'))
+    if ((IsGlob(filename) == MagickFalse) && (*option != '@'))
       continue;
-    if (*filename != '@')
+    if (*option != '@')
       {
         /*
           Generate file list from wildcard filename (e.g. *.jpg).