From: cristy Date: Tue, 14 Aug 2012 12:38:33 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be674a6ecf90c62276f73981d1677c6b4b3ca6ab;p=imagemagick --- diff --git a/MagickCore/blob.c b/MagickCore/blob.c index 0bd7413bb..7fb96c982 100644 --- a/MagickCore/blob.c +++ b/MagickCore/blob.c @@ -409,10 +409,10 @@ MagickExport Image *BlobToImage(const ImageInfo *image_info,const void *blob, */ for (images=GetFirstImageInList(image); images != (Image *) NULL; ) { - (void) CopyMagickMemory(images->magick_filename,image_info->filename, - sizeof(images->magick_filename)); (void) CopyMagickMemory(images->filename,image_info->filename, sizeof(images->filename)); + (void) CopyMagickMemory(images->magick_filename,image_info->filename, + sizeof(images->magick_filename)); images=GetNextImageInList(images); } } diff --git a/coders/jnx.c b/coders/jnx.c index abe11a11f..677640ca9 100644 --- a/coders/jnx.c +++ b/coders/jnx.c @@ -292,6 +292,7 @@ static Image *ReadJNXImage(const ImageInfo *image_info,ExceptionInfo *exception) (void) SeekBlob(image,offset,SEEK_SET); if (tile_image == (Image *) NULL) continue; + (void) CopyMagickString(tile_image->magick,image->magick,MaxTextExtent); (void) FormatImageProperty(tile_image,"jnx:northeast","%.20g,%.20g", northeast.x,northeast.y); (void) FormatImageProperty(tile_image,"jnx:southwest","%.20g,%.20g",