]> granicus.if.org Git - imagemagick/commitdiff
Minor refactoring.
authorDirk Lemstra <dirk@lemstra.org>
Fri, 12 Jul 2019 08:26:11 +0000 (10:26 +0200)
committerDirk Lemstra <dirk@lemstra.org>
Fri, 12 Jul 2019 08:26:11 +0000 (10:26 +0200)
coders/ps.c

index 25fb901c9a5e021aa4c9ec7af952c482afb90749..5e98b3580d50b0def4cd97ee4df223952d685b5e 100644 (file)
@@ -292,7 +292,10 @@ static void ReadPSInfo(const ImageInfo *image_info,Image *image,
   for (c=ReadByteBuffer(&buffer); c != EOF; c=ReadByteBuffer(&buffer))
   {
     if (c == '<')
-      ReadGhostScriptXMPProfile(&buffer,&ps_info->xmp_profile);
+      {
+        ReadGhostScriptXMPProfile(&buffer,&ps_info->xmp_profile);
+        continue;
+      }
     /*
       Note document structuring comments.
     */