summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2021-03-15 13:09:13 +0000
committerChris Liddell <chris.liddell@artifex.com>2021-03-15 15:24:30 +0000
commit7aa1c4dc873718aa00fcfe23e10453bb50b13c87 (patch)
treeea5fbccdb2daaa7a509c7943fb8a731e8460ca92
parent4a4cf13798af4fd51f2c594efdbedc0928682d79 (diff)
downloadghostpdl-7aa1c4dc873718aa00fcfe23e10453bb50b13c87.tar.gz
Fix merge error causing CAL SEGVs.ghostpdl-9.54.0rc1_test_002
We were detecting plugins as being old format. This only shows up in testing with CAL.
-rw-r--r--lcms2mt/src/cmsxform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcms2mt/src/cmsxform.c b/lcms2mt/src/cmsxform.c
index 7440e6786..2d85434ec 100644
--- a/lcms2mt/src/cmsxform.c
+++ b/lcms2mt/src/cmsxform.c
@@ -966,7 +966,7 @@ cmsBool _cmsRegisterTransformPlugin(cmsContext ContextID, cmsPluginBase* Data)
if (fl == NULL) return FALSE;
// Check for full xform plug-ins previous to 2.8, we would need an adapter in that case
- if (Plugin->base.ExpectedVersion < 2080) {
+ if (Plugin->base.ExpectedVersion < 2080-2000) {
fl->OldXform = TRUE;
}