summaryrefslogtreecommitdiff
path: root/src/cmscnvrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmscnvrt.c')
-rw-r--r--src/cmscnvrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmscnvrt.c b/src/cmscnvrt.c
index 1a93e83..f3d43fe 100644
--- a/src/cmscnvrt.c
+++ b/src/cmscnvrt.c
@@ -1045,7 +1045,7 @@ cmsPipeline* _cmsLinkProfiles(cmsContext ContextID,
if (TheIntents[i] == INTENT_PERCEPTUAL || TheIntents[i] == INTENT_SATURATION) {
// Force BPC for V4 profiles in perceptual and saturation
- if (cmsGetProfileVersion(hProfiles[i]) >= 4.0)
+ if (cmsGetEncodedICCversion(hProfiles[i]) >= 0x4000000)
BPC[i] = TRUE;
}
}