Skip to content

Commit

Permalink
support filenames with embedded characters (ImageMagick/ImageMagick#6040
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Cristy committed Feb 8, 2023
1 parent e92bf1a commit a39d02e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion magick/utility.c
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,9 @@ MagickExport MagickBooleanType ExpandFilenames(int *number_arguments,
continue;
if ((IsGlob(filename) == MagickFalse) && (*option != '@'))
continue;
if ((*option != '@') && (IsPathAccessible(option) == MagickFalse))
if (IsPathAccessible(option) != MagickFalse)
continue;
if (*option != '@')
{
/*
Generate file list from wildcard filename (e.g. *.jpg).
Expand Down

0 comments on commit a39d02e

Please sign in to comment.