diff options
Diffstat (limited to 'core/fxge/dib/fx_dib_composite.cpp')
-rw-r--r-- | core/fxge/dib/fx_dib_composite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/dib/fx_dib_composite.cpp b/core/fxge/dib/fx_dib_composite.cpp index afb0551b98..04387db6b4 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; } } |