]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Wed, 14 Mar 2018 00:04:21 +0000 (20:04 -0400)
committerCristy <urban-warrior@imagemagick.org>
Wed, 14 Mar 2018 00:04:21 +0000 (20:04 -0400)
coders/pcl.c

index e94ae4f312c684c32d175dfadb3edead280e44a6..088645b6e1d007a7a36ce700fb83e5c1eca0c683 100644 (file)
@@ -326,8 +326,8 @@ static Image *ReadPCLImage(const ImageInfo *image_info,ExceptionInfo *exception)
     (void) ParseAbsoluteGeometry(image_info->page,&page);
   density=AcquireString("");
   options=AcquireString("");
-  (void) FormatLocaleString(density,MagickPathExtent,"%gx%g",image->resolution.x,
-    image->resolution.y);
+  (void) FormatLocaleString(density,MagickPathExtent,"%gx%g",
+    image->resolution.x,image->resolution.y);
   page.width=(size_t) floor(page.width*image->resolution.x/delta.x+0.5);
   page.height=(size_t) floor(page.height*image->resolution.y/delta.y+0.5);
   (void) FormatLocaleString(options,MagickPathExtent,"-g%.20gx%.20g ",(double)