diff options
| author | Matthieu Darbois <mayeut@users.noreply.github.com> | 2016-08-06 13:04:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-06 13:04:56 +0200 |
| commit | 4a2a8693e5a02207a8813b02a375abdc4e43c49b (patch) | |
| tree | 546b6aa9a7ed2bdbd215775ef1bf375e2d6a0598 /thirdparty/liblcms2/src/cmsopt.c | |
| parent | 1509ccc51f8de0523821ffd2f3d1946b10e49614 (diff) | |
Update to lcms 2.8 (#808)
Diffstat (limited to 'thirdparty/liblcms2/src/cmsopt.c')
| -rw-r--r-- | thirdparty/liblcms2/src/cmsopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/liblcms2/src/cmsopt.c b/thirdparty/liblcms2/src/cmsopt.c index 2fba94b2..92ff414f 100644 --- a/thirdparty/liblcms2/src/cmsopt.c +++ b/thirdparty/liblcms2/src/cmsopt.c @@ -529,7 +529,7 @@ cmsBool PatchLUT(cmsStage* CLUT, cmsUInt16Number At[], cmsUInt16Number Value[], return TRUE; } -// Auxiliar, to see if two values are equal or very different +// Auxiliary, to see if two values are equal or very different static cmsBool WhitesAreEqual(int n, cmsUInt16Number White1[], cmsUInt16Number White2[] ) { @@ -537,7 +537,7 @@ cmsBool WhitesAreEqual(int n, cmsUInt16Number White1[], cmsUInt16Number White2[] for (i=0; i < n; i++) { - if (abs(White1[i] - White2[i]) > 0xf000) return TRUE; // Values are so extremly different that the fixup should be avoided + if (abs(White1[i] - White2[i]) > 0xf000) return TRUE; // Values are so extremely different that the fixup should be avoided if (White1[i] != White2[i]) return FALSE; } return TRUE; |
