summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarti Maria <marti.maria@littlecms.com>2022-12-04 16:49:19 +0100
committerMarti Maria <marti.maria@littlecms.com>2022-12-04 16:49:19 +0100
commit5e480386ea755a3a3059f9ff32d0d69e9bb7ae1f (patch)
tree0e5092db064eaee7d0182eec19f5398777e61feb /src
parent184ee6336701a380e6378eff133f4c2444f64f7c (diff)
downloadlcms2-5e480386ea755a3a3059f9ff32d0d69e9bb7ae1f.tar.gz
fix a typo in matrix check
Bad copy & paste habits
Diffstat (limited to 'src')
-rw-r--r--src/cmsopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmsopt.c b/src/cmsopt.c
index b4f0929..8d64d17 100644
--- a/src/cmsopt.c
+++ b/src/cmsopt.c
@@ -1697,7 +1697,7 @@ cmsBool OptimizeMatrixShaper(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUInt3
// Only RGB to RGB
if (Matrix1->InputChannels != 3 || Matrix1->OutputChannels != 3 ||
- Matrix1->InputChannels != 3 || Matrix2->OutputChannels != 3) return FALSE;
+ Matrix2->InputChannels != 3 || Matrix2->OutputChannels != 3) return FALSE;
// Input offset should be zero
if (Data1->Offset != NULL) return FALSE;