]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 16 Apr 2017 14:58:17 +0000 (10:58 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 16 Apr 2017 14:58:17 +0000 (10:58 -0400)
coders/inline.c

index 0030436c288fcbdddfd1da44c22f3a61a2251965..e437fe7da27594939bc2b1a6ef657ba8d38714d3 100644 (file)
@@ -123,7 +123,7 @@ static Image *ReadINLINEImage(const ImageInfo *image_info,
       image_info->filename);
   assert(exception != (ExceptionInfo *) NULL);
   assert(exception->signature == MagickCoreSignature);
-  if (LocaleCompare(image_info->magick,"DATA") == 0)
+  if (LocaleNCompare(image_info->filename,"data:",5) == 0)
     {
       char
         *filename;