From b55821e50fd31af01690d95443a4592fa354b9db Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 15 Aug 2018 04:46:02 -0400 Subject: [PATCH] ... --- coders/gradient.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/coders/gradient.c b/coders/gradient.c index 2aad031a4..7753bb979 100644 --- a/coders/gradient.c +++ b/coders/gradient.c @@ -196,8 +196,7 @@ static Image *ReadGRADIENTImage(const ImageInfo *image_info, SetImageInfoBlob(read_info,(void *) NULL,0); (void) CopyMagickString(colorname,image_info->filename,MagickPathExtent); (void) sscanf(image_info->filename,"%[^-]",colorname); - (void) FormatLocaleString(read_info->filename,MagickPathExtent,"xc:%s", - colorname); + (void) CopyMagickString(read_info->filename,colorname,MagickPathExtent); image=ReadXCImage(read_info,exception); read_info=DestroyImageInfo(read_info); if (image == (Image *) NULL) -- 2.40.0