]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 24 Nov 2011 00:49:08 +0000 (00:49 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 24 Nov 2011 00:49:08 +0000 (00:49 +0000)
coders/pdf.c
coders/ps.c

index 27fa31ce2ba13159ff6a5e809b0d1e44bc53c684..d32146210760851464da99b4d13c7fb7e8754237 100644 (file)
@@ -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.
index 0299467bfd1051614fa1e1fabe12a8fd0d4d444b..7633903ec089284688b88341d10b2588658c9fcc 100644 (file)
@@ -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.