From: cristy Date: Thu, 24 Nov 2011 00:49:08 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6608 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=614bc08d1e7592f3b57c94491b2b1dc72bddbe73;p=imagemagick --- diff --git a/coders/pdf.c b/coders/pdf.c index 27fa31ce2..d32146210 100644 --- a/coders/pdf.c +++ b/coders/pdf.c @@ -540,7 +540,7 @@ static Image *ReadPDFImage(const ImageInfo *image_info,ExceptionInfo *exception) hires_bounds=bounds; } if ((fabs(hires_bounds.x2-hires_bounds.x1) >= MagickEpsilon) && - (fabs(hires_bounds.y2-hires_bounds.x1) >= MagickEpsilon)) + (fabs(hires_bounds.y2-hires_bounds.y1) >= MagickEpsilon)) { /* Set PDF render geometry. diff --git a/coders/ps.c b/coders/ps.c index 0299467bf..7633903ec 100644 --- a/coders/ps.c +++ b/coders/ps.c @@ -693,7 +693,7 @@ static Image *ReadPSImage(const ImageInfo *image_info,ExceptionInfo *exception) priority=i; } if ((fabs(hires_bounds.x2-hires_bounds.x1) >= MagickEpsilon) && - (fabs(hires_bounds.y2-hires_bounds.x1) >= MagickEpsilon)) + (fabs(hires_bounds.y2-hires_bounds.y1) >= MagickEpsilon)) { /* Set Postscript render geometry.