From: cristy Date: Tue, 28 Feb 2012 12:03:48 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8488585a946b602447ab11f89d0605a1ac000f2;p=imagemagick --- diff --git a/coders/ps.c b/coders/ps.c index a8e261441..7e0f454db 100644 --- a/coders/ps.c +++ b/coders/ps.c @@ -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)