| 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 3884d0fc8e0ed90c4b682fa57931b0ca4bad9170..d29f00923d9e515341858382bb79f746aecb51ee 100644
|
| --- a/core/src/fxge/dib/fx_dib_convert.cpp
|
| +++ b/core/src/fxge/dib/fx_dib_convert.cpp
|
| @@ -1100,7 +1100,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;
|
|
|