From: cristy Date: Thu, 6 Mar 2014 14:11:27 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2612 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3c89017f1a4fec939375f49821cb3ac2f7e5f2f;p=imagemagick --- diff --git a/coders/ps.c b/coders/ps.c index b41ba1666..6b6d316da 100644 --- a/coders/ps.c +++ b/coders/ps.c @@ -697,7 +697,8 @@ static Image *ReadPSImage(const ImageInfo *image_info,ExceptionInfo *exception) continue; if ((fabs(bounds.x2-bounds.x1) <= fabs(hires_bounds.x2-hires_bounds.x1)) || (fabs(bounds.y2-bounds.y1) <= fabs(hires_bounds.y2-hires_bounds.y1))) - continue; + if (i == (ssize_t) priority) + continue; hires_bounds=bounds; priority=i; }