From: cristy Date: Sat, 6 Aug 2011 19:48:02 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~7212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a557c081263146b5b02ba0df27b9f049c77bac4;p=imagemagick --- diff --git a/MagickWand/mogrify.c b/MagickWand/mogrify.c index 8587ece42..b4fddd450 100644 --- a/MagickWand/mogrify.c +++ b/MagickWand/mogrify.c @@ -57,10 +57,10 @@ /* Constant declaration. */ -const char - MogrifyBackgroundColor[] = "#ffffff", /* white */ - MogrifyBorderColor[] = "#dfdfdf", /* gray */ - MogrifyMatteColor[] = "#bdbdbd"; /* gray */ +static const char + BackgroundColor[] = "#ffffff", /* white */ + BorderColor[] = "#dfdfdf", /* gray */ + MatteColor[] = "#bdbdbd"; /* gray */ /* Define declarations. @@ -921,7 +921,7 @@ WandExport MagickBooleanType MogrifyImage(ImageInfo *image_info,const int argc, { if (*option == '+') { - (void) QueryColorDatabase(MogrifyBorderColor,&draw_info->border_color, + (void) QueryColorDatabase(BorderColor,&draw_info->border_color, exception); break; } @@ -6140,7 +6140,7 @@ WandExport MagickBooleanType MogrifyImageInfo(ImageInfo *image_info, if (*option == '+') { (void) DeleteImageOption(image_info,option+1); - (void) QueryColorDatabase(MogrifyBackgroundColor, + (void) QueryColorDatabase(BackgroundColor, &image_info->background_color,exception); break; } @@ -6184,7 +6184,7 @@ WandExport MagickBooleanType MogrifyImageInfo(ImageInfo *image_info, if (*option == '+') { (void) DeleteImageOption(image_info,option+1); - (void) QueryColorDatabase(MogrifyBorderColor,&image_info->border_color, + (void) QueryColorDatabase(BorderColor,&image_info->border_color, exception); break; } @@ -6755,7 +6755,7 @@ WandExport MagickBooleanType MogrifyImageInfo(ImageInfo *image_info, if (*option == '+') { (void) SetImageOption(image_info,option+1,argv[i+1]); - (void) QueryColorDatabase(MogrifyMatteColor,&image_info->matte_color, + (void) QueryColorDatabase(MatteColor,&image_info->matte_color, exception); break; }