| Index: core/src/fxge/dib/fx_dib_convert.cpp
|
| diff --git a/core/src/fxge/dib/fx_dib_convert.cpp b/core/src/fxge/dib/fx_dib_convert.cpp
|
| index 4b50a0cdf3b30c60c8c8ce676d9b243b8cbc246e..7e7a619595a735214d9c17544fb0e9f59264d7e8 100644
|
| --- a/core/src/fxge/dib/fx_dib_convert.cpp
|
| +++ b/core/src/fxge/dib/fx_dib_convert.cpp
|
| @@ -1096,7 +1096,7 @@ CFX_DIBitmap* CFX_DIBSource::CloneConvert(FXDIB_Format dest_format,
|
| }
|
| FX_BOOL ret = TRUE;
|
| CFX_DIBitmap* pSrcAlpha = NULL;
|
| - if (m_AlphaFlag & 2) {
|
| + if (HasAlpha()) {
|
| pSrcAlpha = (GetFormat() == FXDIB_Argb) ? GetAlphaMask() : m_pAlphaMask;
|
| if (pSrcAlpha == NULL) {
|
| delete pClone;
|
|
|