From: Dirk Lemstra Date: Fri, 12 Jul 2019 08:26:11 +0000 (+0200) Subject: Minor refactoring. X-Git-Tag: 7.0.8-54~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2dc373daae43606bd1fc3bc2ac44943a04e2cadb;p=imagemagick Minor refactoring. --- diff --git a/coders/ps.c b/coders/ps.c index 25fb901c9..5e98b3580 100644 --- a/coders/ps.c +++ b/coders/ps.c @@ -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. */