From be674a6ecf90c62276f73981d1677c6b4b3ca6ab Mon Sep 17 00:00:00 2001 From: cristy Date: Tue, 14 Aug 2012 12:38:33 +0000 Subject: [PATCH] --- MagickCore/blob.c | 4 ++-- coders/jnx.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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", -- 2.50.1