summaryrefslogtreecommitdiff
path: root/coders/pes.c
diff options
context:
space:
mode:
authorcristy <urban-warrior@git.imagemagick.org>2015-04-15 10:50:31 +0000
committercristy <urban-warrior@git.imagemagick.org>2015-04-15 10:50:31 +0000
commit151b66dffc9e3c2e8c4f8cdaca37ff987ca0f497 (patch)
tree8fa2184890a8fa143a93fc3c9ee8fe32df5ee354 /coders/pes.c
parent2b707f9e43fa22c268e92998bcb0452e926060b4 (diff)
downloadImageMagick-151b66dffc9e3c2e8c4f8cdaca37ff987ca0f497.tar.gz
Diffstat (limited to 'coders/pes.c')
-rw-r--r--coders/pes.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/coders/pes.c b/coders/pes.c
index 38cea7c84..3c04932ec 100644
--- a/coders/pes.c
+++ b/coders/pes.c
@@ -421,7 +421,7 @@ static MagickBooleanType IsPES(const unsigned char *magick,const size_t length)
static Image *ReadPESImage(const ImageInfo *image_info,ExceptionInfo *exception)
{
char
- filename[MaxTextExtent];
+ filename[MagickPathExtent];
FILE
*file;
@@ -653,16 +653,16 @@ static Image *ReadPESImage(const ImageInfo *image_info,ExceptionInfo *exception)
*/
read_info=CloneImageInfo(image_info);
SetImageInfoBlob(read_info,(void *) NULL,0);
- (void) FormatLocaleString(read_info->filename,MaxTextExtent,"svg:%s",
+ (void) FormatLocaleString(read_info->filename,MagickPathExtent,"svg:%s",
filename);
image=ReadImage(read_info,exception);
if (image != (Image *) NULL)
{
(void) CopyMagickString(image->filename,image_info->filename,
- MaxTextExtent);
+ MagickPathExtent);
(void) CopyMagickString(image->magick_filename,image_info->filename,
- MaxTextExtent);
- (void) CopyMagickString(image->magick,"PES",MaxTextExtent);
+ MagickPathExtent);
+ (void) CopyMagickString(image->magick,"PES",MagickPathExtent);
}
read_info=DestroyImageInfo(read_info);
(void) RelinquishUniqueFileResource(filename);