Fix Wrong colour shown when GouraudTriangleShFill uses a DeviceN colorspace
Bug #89182
diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 6640ab5..2e2ec33 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -4364,7 +4364,7 @@
#if SPLASH_CMYK
case splashModeCMYK8:
case splashModeDeviceN8:
- bDirectColorTranslation = (shadingMode == csDeviceCMYK || shadingMode == csDeviceN);
+ bDirectColorTranslation = (shadingMode == csDeviceCMYK);
break;
#endif
default: