cache.c : SetImageVirtualPixelMethod

Ali Bendriss <[email protected]>
Newsgroups gmane.comp.video.image-magick.devel
Organization The Dementia Research Centre
Message-ID <[email protected]>
Hello,

Sorry, I've posted first in the magick-developers but this list may be better.

ImageMagick-6.3.3/magick/cache.c

MagickExport VirtualPixelMethod SetImageVirtualPixelMethod(const Image *image,
  const VirtualPixelMethod method)
{
  [...]
  virtual_pixel_method=cache_info->virtual_pixel_method;
  cache_info->virtual_pixel_method=method;
  return(virtual_pixel_method);
}

should be

MagickExport VirtualPixelMethod SetImageVirtualPixelMethod(const Image *image,
  const VirtualPixelMethod method)
{
  [...]
  cache_info->virtual_pixel_method=method;
  virtual_pixel_method=cache_info->virtual_pixel_method;
  return(virtual_pixel_method);
}


thanks


-- 
Ali
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.