From 9f84f624d3a6be89804a55ddea878f4cdaca6e77 Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 25 Sep 2009 18:40:30 +0000 Subject: *** empty log message *** --- src/process/im_quantize.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/process') diff --git a/src/process/im_quantize.cpp b/src/process/im_quantize.cpp index 9a65f4c..de78cf4 100644 --- a/src/process/im_quantize.cpp +++ b/src/process/im_quantize.cpp @@ -2,7 +2,7 @@ * \brief Additional Image Quantization Operations * * See Copyright Notice in im_lib.h - * $Id: im_quantize.cpp,v 1.1 2008/10/17 06:16:33 scuri Exp $ + * $Id: im_quantize.cpp,v 1.2 2009/09/25 18:40:32 scuri Exp $ */ @@ -24,8 +24,7 @@ void imProcessQuantizeRGBUniform(const imImage* src_image, imImage* dst_image, i *green_map=(imbyte*)src_image->data[1], *blue_map=(imbyte*)src_image->data[2]; - long *palette = imPaletteUniform(); - imImageSetPalette(dst_image, palette, 256); + imImageSetPalette(dst_image, imPaletteUniform(), 256); for (int y = 0; y < src_image->height; y++) { -- cgit v1.2.3