From 614bc08d1e7592f3b57c94491b2b1dc72bddbe73 Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 24 Nov 2011 00:49:08 +0000 Subject: [PATCH] --- coders/pdf.c | 2 +- coders/ps.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. -- 2.50.1