From 7320f3165dfa08daf70722ea12e7e5a78debc95a Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 19 Sep 2017 20:47:07 -0400 Subject: [PATCH] ... --- MagickCore/colormap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/colormap.c b/MagickCore/colormap.c index 7bcca68a1..5dd595de1 100644 --- a/MagickCore/colormap.c +++ b/MagickCore/colormap.c @@ -133,8 +133,8 @@ MagickExport MagickBooleanType AcquireImageColormap(Image *image, double pixel; - pixel=(double) (i*(QuantumRange/MagickMax(colors-1,1))); GetPixelInfo(image,image->colormap+i); + pixel=(double) (i*(QuantumRange/MagickMax(colors-1,1))); image->colormap[i].red=pixel; image->colormap[i].green=pixel; image->colormap[i].blue=pixel; -- 2.40.0