summaryrefslogtreecommitdiff
path: root/coders/map.c
diff options
context:
space:
mode:
authorcristy <urban-warrior@git.imagemagick.org>2011-10-13 13:06:32 +0000
committercristy <urban-warrior@git.imagemagick.org>2011-10-13 13:06:32 +0000
commit101ab708b0574518ac5715da4d3915400e9df79a (patch)
treeae82d6bf1eb743f757f6dd59d61f2eab13b26065 /coders/map.c
parent1224a9941fcdddc1c36cbc74e34c81b7fb67ce28 (diff)
downloadImageMagick-101ab708b0574518ac5715da4d3915400e9df79a.tar.gz
Diffstat (limited to 'coders/map.c')
-rw-r--r--coders/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coders/map.c b/coders/map.c
index f864b5738..8e3c009dd 100644
--- a/coders/map.c
+++ b/coders/map.c
@@ -226,7 +226,7 @@ static Image *ReadMAPImage(const ImageInfo *image_info,ExceptionInfo *exception)
p++;
}
SetPixelIndex(image,index,q);
- SetPixelPacket(image,image->colormap+(ssize_t) index,q);
+ SetPixelPixelInfo(image,image->colormap+(ssize_t) index,q);
q+=GetPixelChannels(image);
}
if (SyncAuthenticPixels(image,exception) == MagickFalse)