summaryrefslogtreecommitdiff
path: root/lcms2mt/src/cmsgamma.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2018-10-14 00:06:46 +0100
committerRobin Watts <robin.watts@artifex.com>2018-10-15 13:46:46 +0100
commit90b8faa80a4746f7f1e0966d6c56a687d2f8d333 (patch)
tree060f2aae149fe0861a39ef954abf1862e9694169 /lcms2mt/src/cmsgamma.c
parentfc61ee05129b7cafb22dbce5b93c9a80d30433f7 (diff)
downloadghostpdl-90b8faa80a4746f7f1e0966d6c56a687d2f8d333.tar.gz
Pull in newly merged and updated LCMS2MT from MuPDF thirdparty repo.
The MuPDF repo should be considered canonical, as that is the one that can pull in updates from upstream lcms2 easily.
Diffstat (limited to 'lcms2mt/src/cmsgamma.c')
-rw-r--r--lcms2mt/src/cmsgamma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcms2mt/src/cmsgamma.c b/lcms2mt/src/cmsgamma.c
index b42c064fa..09e817ce1 100644
--- a/lcms2mt/src/cmsgamma.c
+++ b/lcms2mt/src/cmsgamma.c
@@ -821,7 +821,7 @@ cmsToneCurve* CMSEXPORT cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cm
//
// Parameters goes as: Curve, a, b, c, d, e, f
// Type is the ICC type +1
-// if type is negative, then the curve is analyticaly inverted
+// if type is negative, then the curve is analytically inverted
cmsToneCurve* CMSEXPORT cmsBuildParametricToneCurve(cmsContext ContextID, cmsInt32Number Type, const cmsFloat64Number Params[])
{
cmsCurveSegment Seg0;
@@ -1256,7 +1256,7 @@ cmsBool CMSEXPORT cmsSmoothToneCurve(cmsContext ContextID, cmsToneCurve* Tab, c
}
// Is a table linear? Do not use parametric since we cannot guarantee some weird parameters resulting
-// in a linear table. This way assures it is linear in 12 bits, which should be enought in most cases.
+// in a linear table. This way assures it is linear in 12 bits, which should be enough in most cases.
cmsBool CMSEXPORT cmsIsToneCurveLinear(cmsContext ContextID, const cmsToneCurve* Curve)
{
int i;