]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 28 Feb 2012 12:03:48 +0000 (12:03 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 28 Feb 2012 12:03:48 +0000 (12:03 +0000)
coders/ps.c

index a8e261441c8b5e8154cdf88a418f20c8c211d223..7e0f454dbdb5d162070a081bc02d843aebe712da 100644 (file)
@@ -758,9 +758,8 @@ static Image *ReadPSImage(const ImageInfo *image_info,ExceptionInfo *exception)
   *options='\0';
   (void) FormatLocaleString(density,MaxTextExtent,"%gx%g",
     image->resolution.x,image->resolution.y);
-  if (image_info->page != (char *) NULL)
-    (void) FormatLocaleString(options,MaxTextExtent,"-g%.20gx%.20g ",(double)
-      page.width,(double) page.height);
+  (void) FormatLocaleString(options,MaxTextExtent,"-g%.20gx%.20g ",(double)
+    page.width,(double) page.height);
   read_info=CloneImageInfo(image_info);
   *read_info->magick='\0';
   if (read_info->number_scenes != 0)