From 2dc373daae43606bd1fc3bc2ac44943a04e2cadb Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Fri, 12 Jul 2019 10:26:11 +0200 Subject: [PATCH] Minor refactoring. --- coders/ps.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. */ -- 2.40.0