| Index: core/src/fxcodec/codec/fx_codec_icc.cpp
|
| diff --git a/core/src/fxcodec/codec/fx_codec_icc.cpp b/core/src/fxcodec/codec/fx_codec_icc.cpp
|
| index da503c03fd1a09b0bbb471e9f5de33b89bd53bd4..7507fe5d6d505263961c3ddd65c92b6533e1043f 100644
|
| --- a/core/src/fxcodec/codec/fx_codec_icc.cpp
|
| +++ b/core/src/fxcodec/codec/fx_codec_icc.cpp
|
| @@ -44,7 +44,8 @@ FX_BOOL CheckComponents(cmsColorSpaceSignature cs, int nComponents, FX_BOOL bDst
|
| case cmsSigGrayData:
|
| if (bDst && nComponents != 1) {
|
| return FALSE;
|
| - } else if (!bDst && nComponents > 2) {
|
| + }
|
| + if (!bDst && nComponents > 2) {
|
| return FALSE;
|
| }
|
| break;
|
|
|