From: cristy Date: Tue, 25 May 2010 13:18:56 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~9392 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20843eaf833d31fdb6940fa95b54663f939c31ed;p=imagemagick --- diff --git a/magick/utility.c b/magick/utility.c index 1a7c849b1..f909892b8 100644 --- a/magick/utility.c +++ b/magick/utility.c @@ -1291,6 +1291,9 @@ MagickExport void GetPathComponent(const char *path,PathType type, { if ((*p == '%') && (*(p+1) == '[')) { + /* + Skip over %[...]. + */ for (p++; (*p != ']') && (*p != '\0'); p++) ; if (*p == '\0') break;