diff options
author | Marti Maria <marti.maria@littlecms.com> | 2022-12-04 16:49:19 +0100 |
---|---|---|
committer | Marti Maria <marti.maria@littlecms.com> | 2022-12-04 16:49:19 +0100 |
commit | 5e480386ea755a3a3059f9ff32d0d69e9bb7ae1f (patch) | |
tree | 0e5092db064eaee7d0182eec19f5398777e61feb | |
parent | 184ee6336701a380e6378eff133f4c2444f64f7c (diff) | |
download | lcms2-5e480386ea755a3a3059f9ff32d0d69e9bb7ae1f.tar.gz |
fix a typo in matrix check
Bad copy & paste habits
-rw-r--r-- | src/cmsopt.c | 2 |
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; |