From: cristy Date: Sun, 3 May 2015 19:56:44 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1067 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff1cf6f5e93273680c87ba91d81bd3d9b299109e;p=imagemagick --- diff --git a/coders/mpc.c b/coders/mpc.c index 8acd781f4..334ea6d52 100644 --- a/coders/mpc.c +++ b/coders/mpc.c @@ -1177,10 +1177,11 @@ static MagickBooleanType WriteMPCImage(const ImageInfo *image_info,Image *image, (long) image->page.x,(long) image->page.y); (void) WriteBlobString(image,buffer); } - if ((image->page.x != 0) || (image->page.y != 0)) + if ((image->tile_offset.x != 0) || (image->tile_offset.y != 0)) { - (void) FormatLocaleString(buffer,MagickPathExtent,"tile-offset=%+ld%+ld\n", - (long) image->tile_offset.x,(long) image->tile_offset.y); + (void) FormatLocaleString(buffer,MagickPathExtent, + "tile-offset=%+ld%+ld\n",(long) image->tile_offset.x,(long) + image->tile_offset.y); (void) WriteBlobString(image,buffer); } if ((GetNextImageInList(image) != (Image *) NULL) ||