diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2021-03-15 13:09:13 +0000 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2021-03-15 13:10:20 +0000 |
commit | 29e88ec91d42f21b90ce5fe08c3a66e74d7dfe97 (patch) | |
tree | 6a8db3bc836482a3a94252d2c750479baa4f9db9 /lcms2mt | |
parent | 8aae33ff6ada83322a8666a8a4e707001b5eea8e (diff) | |
download | ghostpdl-29e88ec91d42f21b90ce5fe08c3a66e74d7dfe97.tar.gz |
Fix merge error causing CAL SEGVs.
We were detecting plugins as being old format. This only shows up
in testing with CAL.
Diffstat (limited to 'lcms2mt')
-rw-r--r-- | lcms2mt/src/cmsxform.c | 2 |
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; } |