summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarti Maria <info@littlecms.com>2013-05-11 13:54:22 +0200
committerMarti Maria <info@littlecms.com>2013-05-11 13:54:22 +0200
commit0fd29c9a4a5655ec890b7feae5792ab318068ef9 (patch)
treed156ec23a0ff126bbcafb06b2f41d7cefc80528d /src
parentc0d46110f6c4a1d49a292408239b44c4aaa79f89 (diff)
downloadlcms2-0fd29c9a4a5655ec890b7feae5792ab318068ef9.tar.gz
Fixed a parametric curve bug
Diffstat (limited to 'src')
-rw-r--r--src/cmsgamma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmsgamma.c b/src/cmsgamma.c
index 10ca600..a43d086 100644
--- a/src/cmsgamma.c
+++ b/src/cmsgamma.c
@@ -395,7 +395,7 @@ cmsFloat64Number DefaultEvalParametricFn(cmsInt32Number Type, const cmsFloat64Nu
if (e > 0)
Val = pow(e, Params[0]) + Params[5];
else
- Val = 0;
+ Val = Params[5];
}
else
Val = R*Params[3] + Params[6];