diff options
author | kcwu <kcwu@chromium.org> | 2016-10-12 00:16:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-12 00:16:20 -0700 |
commit | 7dd285df25630482bfd7bceea3678ff1dc60aab5 (patch) | |
tree | 37a58ac122e64fc93f5a4148d8289e9822cdc74d | |
parent | 2bfa222a38e12a5108899a9d9b5a9b2179dcb4c1 (diff) | |
download | pdfium-7dd285df25630482bfd7bceea3678ff1dc60aab5.tar.xz |
Fix else-line corrupted by non-ascii character when import
BUG=pdfium:619
Review-Url: https://codereview.chromium.org/2411123003
-rw-r--r-- | third_party/lcms2-2.6/src/cmsxform.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/third_party/lcms2-2.6/src/cmsxform.c b/third_party/lcms2-2.6/src/cmsxform.c index 6466d27c3e..dffe6b2fb7 100644 --- a/third_party/lcms2-2.6/src/cmsxform.c +++ b/third_party/lcms2-2.6/src/cmsxform.c @@ -694,13 +694,15 @@ _cmsTRANSFORM* AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut, if (*dwFlags & cmsFLAGS_NOCACHE) { if (*dwFlags & cmsFLAGS_GAMUTCHECK) - p ->xform = PrecalculatedXFORMGamutCheck; // Gamut check, no cach? else + p ->xform = PrecalculatedXFORMGamutCheck; // Gamut check, no cach? + else p ->xform = PrecalculatedXFORM; // No cach? no gamut check } else { if (*dwFlags & cmsFLAGS_GAMUTCHECK) - p ->xform = CachedXFORMGamutCheck; // Gamut check, cach? else + p ->xform = CachedXFORMGamutCheck; // Gamut check, cach? + else p ->xform = CachedXFORM; // No gamut check, cach? } } |