Syntax highlighting: diff
diff --git a/imagemagick-6.9.10.23+dfsg/coders/png.c b/imagemagick-6.9.10.23+dfsg/coders/png.c
index 5917542..23990e0 100644
--- a/imagemagick-6.9.10.23+dfsg/coders/png.c
+++ b/imagemagick-6.9.10.23+dfsg/coders/png.c
@@ -3773,21 +3773,21 @@ static Image *ReadOnePNGImage(MngInfo *mng_info,
png_error(ping,"Memory allocation failed");
*value='\0';
(void) ConcatenateMagickString(value,text[i].text,length+2);
/* Don't save "density" or "units" property if we have a pHYs
* chunk
*/
if (!png_get_valid(ping,ping_info,PNG_INFO_pHYs) ||
(LocaleCompare(text[i].key,"density") != 0 &&
- LocaleCompare(text[i].key,"units") != 0))
+ LocaleCompare(text[i].key,"units") != 0))
(void) SetImageProperty(image,text[i].key,value);
if (logging != MagickFalse)
{
(void) LogMagickEvent(CoderEvent,GetMagickModule(),
" length: %lu\n"
" Keyword: %s",
(unsigned long) length,
text[i].key);
}
diff --git a/imagemagick-6.9.10.23+dfsg/wand/mogrify.c b/imagemagick-6.9.10.23+dfsg/wand/mogrify.c
index b779546..164870c 100644
--- a/imagemagick-6.9.10.23+dfsg/wand/mogrify.c
+++ b/imagemagick-6.9.10.23+dfsg/wand/mogrify.c
@@ -2833,26 +2833,29 @@ WandExport MagickBooleanType MogrifyImage(ImageInfo *image_info,const int argc,
(void) SetImageOption(image_info,argv[i+1]+7,value);
(void) SetImageOption(mogrify_info,argv[i+1]+7,value);
(void) SetImageArtifact(*image,argv[i+1]+7,value);
}
else
if (LocaleCompare(argv[i+1],"profile") == 0)
{
StringInfo
*profile = (StringInfo *) NULL;
- (void) CopyMagickString(image_info->filename,value,MaxTextExtent);
+ (void) CopyMagickString(image_info->filename,value,
+ MaxTextExtent);
(void) SetImageInfo(image_info,1,exception);
if (LocaleCompare(image_info->filename,"-") != 0)
- profile=FileToStringInfo(image_info->filename,~0UL,exception);
+ profile=FileToStringInfo(image_info->filename,~0UL,
+ exception);
if (profile != (StringInfo *) NULL)
- status=SetImageProfile(image,image_info->magick,profile);
+ status=SetImageProfile(image,image_info->magick,
+ profile);
}
else
(void) SetImageProperty(*image,argv[i+1],value);
value=DestroyString(value);
break;
}
if (LocaleCompare("shade",option+1) == 0)
{
/*
Shade image.