1 diff --git a/third_party/lcms/src/cmsio0.c b/third_party/lcms/src/cmsio0.c 2 index 6549d15..5f9f08a 100644 3 --- a/third_party/lcms/src/cmsio0.c 4 +++ b/third_party/lcms/src/cmsio0.c 5 @@ -719,7 +719,8 @@ cmsBool _cmsReadHeader(_cmsICCPROFILE* Icc) 6 for (j=0; j < Icc ->TagCount; j++) { 7 8 if ((Icc ->TagOffsets[j] == Tag.offset) && 9 - (Icc ->TagSizes[j] == Tag.size)) { 10 + (Icc ->TagSizes[j] == Tag.size) && 11 + (Icc ->TagNames[j] == Tag.sig)) { 12 13 Icc ->TagLinked[Icc ->TagCount] = Icc ->TagNames[j]; 14 } 15