From: cristy Date: Wed, 29 Aug 2012 14:35:55 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5035 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04f48b34fb70532131976218bd7d4efd17aac915;p=imagemagick --- diff --git a/MagickCore/pixel-accessor.h b/MagickCore/pixel-accessor.h index 585752065..8916ab0ae 100644 --- a/MagickCore/pixel-accessor.h +++ b/MagickCore/pixel-accessor.h @@ -33,7 +33,7 @@ extern "C" { static inline double InversesRGBCompandor(const double pixel) { - if (pixel <= (0.0.0404482362771076*QuantumRange)) + if (pixel <= (0.0404482362771076*QuantumRange)) return(pixel/12.92); return(QuantumRange*pow((QuantumScale*pixel+0.055)/1.055,2.4)); }