From: cristy Date: Sat, 26 Jan 2013 02:16:19 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4353 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffcb60148aa20707ec2caa310ddcd274912d3dbf;p=imagemagick --- diff --git a/MagickCore/distribute-cache.c b/MagickCore/distribute-cache.c index 0f094567b..26087275c 100644 --- a/MagickCore/distribute-cache.c +++ b/MagickCore/distribute-cache.c @@ -579,11 +579,11 @@ static MagickBooleanType ReadDistributeCacheMetacontent(SplayTreeInfo *registry, (void) memcpy(®ion.width,q,sizeof(region.width)); q+=sizeof(region.width); (void) memcpy(®ion.height,q,sizeof(region.height)); - q+=sizeof(region.width); + q+=sizeof(region.height); (void) memcpy(®ion.x,q,sizeof(region.x)); - q+=sizeof(region.width); + q+=sizeof(region.x); (void) memcpy(®ion.y,q,sizeof(region.y)); - q+=sizeof(region.width); + q+=sizeof(region.y); (void) memcpy(&length,q,sizeof(length)); q+=sizeof(length); p=GetVirtualPixels(image,region.x,region.y,region.width,region.height, @@ -636,11 +636,11 @@ static MagickBooleanType ReadDistributeCachePixels(SplayTreeInfo *registry, (void) memcpy(®ion.width,q,sizeof(region.width)); q+=sizeof(region.width); (void) memcpy(®ion.height,q,sizeof(region.height)); - q+=sizeof(region.width); + q+=sizeof(region.height); (void) memcpy(®ion.x,q,sizeof(region.x)); - q+=sizeof(region.width); + q+=sizeof(region.x); (void) memcpy(®ion.y,q,sizeof(region.y)); - q+=sizeof(region.width); + q+=sizeof(region.y); (void) memcpy(&length,q,sizeof(length)); q+=sizeof(length); p=GetVirtualPixels(image,region.x,region.y,region.width,region.height, @@ -702,11 +702,11 @@ static MagickBooleanType WriteDistributeCacheMetacontent( (void) memcpy(®ion.width,p,sizeof(region.width)); p+=sizeof(region.width); (void) memcpy(®ion.height,p,sizeof(region.height)); - p+=sizeof(region.width); + p+=sizeof(region.height); (void) memcpy(®ion.x,p,sizeof(region.x)); - p+=sizeof(region.width); + p+=sizeof(region.x); (void) memcpy(®ion.y,p,sizeof(region.y)); - p+=sizeof(region.width); + p+=sizeof(region.y); (void) memcpy(&length,p,sizeof(length)); p+=sizeof(length); q=GetAuthenticPixels(image,region.x,region.y,region.width,region.height, @@ -763,11 +763,11 @@ static MagickBooleanType WriteDistributeCachePixels(SplayTreeInfo *registry, (void) memcpy(®ion.width,p,sizeof(region.width)); p+=sizeof(region.width); (void) memcpy(®ion.height,p,sizeof(region.height)); - p+=sizeof(region.width); + p+=sizeof(region.height); (void) memcpy(®ion.x,p,sizeof(region.x)); - p+=sizeof(region.width); + p+=sizeof(region.x); (void) memcpy(®ion.y,p,sizeof(region.y)); - p+=sizeof(region.width); + p+=sizeof(region.y); (void) memcpy(&length,p,sizeof(length)); p+=sizeof(length); q=GetAuthenticPixels(image,region.x,region.y,region.width,region.height,