Skip to content
Permalink
Browse files Browse the repository at this point in the history
https://github.com/ImageMagick/ImageMagick/issues/122
  • Loading branch information
Cristy committed Feb 6, 2016
1 parent 1a86bf6 commit b3dd69b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/wpg.c
Expand Up @@ -784,7 +784,7 @@ static Image *ExtractPostscript(Image *image,const ImageInfo *image_info,
if(exception->severity != UndefinedException) goto FINISH_UNL;
if(magic_info->name == (char *) NULL) goto FINISH_UNL;

(void) CopyMagickMemory(clone_info->magick,magic_info->name,MagickPathExtent);
(void) strncpy(clone_info->magick,magic_info->name,MagickPathExtent);

/* Read nested image */
/*FormatString(clone_info->filename,"%s:%s",magic_info->name,postscript_file);*/
Expand Down

0 comments on commit b3dd69b

Please sign in to comment.