| Index: core/fxge/dib/fx_dib_composite.cpp
|
| diff --git a/core/fxge/dib/fx_dib_composite.cpp b/core/fxge/dib/fx_dib_composite.cpp
|
| index afb0551b988b23224a91d3bdf5c349eaf26454e9..04387db6b45a3cb12e51f69e4a5a85b1c31bc61b 100644
|
| --- a/core/fxge/dib/fx_dib_composite.cpp
|
| +++ b/core/fxge/dib/fx_dib_composite.cpp
|
| @@ -4693,7 +4693,7 @@ FX_BOOL CFX_DIBitmap::CompositeRect(int left,
|
| int index = 0;
|
| if (m_pPalette) {
|
| for (int i = 0; i < 2; i++) {
|
| - if (m_pPalette[i] == color) {
|
| + if (m_pPalette.get()[i] == color) {
|
| index = i;
|
| }
|
| }
|
|
|