From: cristy Date: Thu, 2 Sep 2010 15:48:08 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8988 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97841ba00b8e25ff42d361868e0271ae4f82e9ba;p=imagemagick --- diff --git a/coders/ps.c b/coders/ps.c index 6e11c933c..82eeac815 100644 --- a/coders/ps.c +++ b/coders/ps.c @@ -522,9 +522,9 @@ static Image *ReadPSImage(const ImageInfo *image_info,ExceptionInfo *exception) (void) sscanf(command,LanguageLevel " %lu",&language_level); if (LocaleNCompare(Pages,command,strlen(Pages)) == 0) (void) sscanf(command,Pages " %lu",&pages); - if (LocaleNCompare(ImageData,command,strlen(Pages)) == 0) + if (LocaleNCompare(ImageData,command,strlen(ImageData)) == 0) (void) sscanf(command,ImageData " %lu %lu",&columns,&rows); - if (LocaleNCompare(ICCProfile,command,strlen(PhotoshopProfile)) == 0) + if (LocaleNCompare(ICCProfile,command,strlen(ICCProfile)) == 0) { unsigned char *datum; diff --git a/coders/ttf.c b/coders/ttf.c index 549795efe..d2e8b4c8d 100644 --- a/coders/ttf.c +++ b/coders/ttf.c @@ -97,7 +97,7 @@ static MagickBooleanType IsPFA(const unsigned char *magick,const size_t length) { if (length < 14) return(MagickFalse); - if (LocaleNCompare((char *) magick,"%!PS-AdobeFont-1.0",14) == 0) + if (LocaleNCompare((char *) magick,"%!PS-AdobeFont",14) == 0) return(MagickTrue); return(MagickFalse); }