Index: core/src/fxge/ge/fx_ge_ps.cpp |
diff --git a/core/src/fxge/ge/fx_ge_ps.cpp b/core/src/fxge/ge/fx_ge_ps.cpp |
index 6ce8f4635bac29cc90b2974617797daf228051e4..ceb2acf2bc77a14a945e410caafbac7a9a08d881 100644 |
--- a/core/src/fxge/ge/fx_ge_ps.cpp |
+++ b/core/src/fxge/ge/fx_ge_ps.cpp |
@@ -417,7 +417,7 @@ FX_BOOL CFX_PSRenderer::DrawDIBits(const CFX_DIBSource* pSource, |
pConverted = pSource->CloneConvert(FXDIB_Rgb); |
break; |
case FXDIB_8bppRgb: |
- if (pSource->GetPalette() != NULL) { |
+ if (pSource->GetPalette()) { |
pConverted = pSource->CloneConvert(FXDIB_Rgb); |
} |
break; |
@@ -425,7 +425,7 @@ FX_BOOL CFX_PSRenderer::DrawDIBits(const CFX_DIBSource* pSource, |
pConverted = pSource->CloneConvert(FXDIB_Cmyk); |
break; |
case FXDIB_8bppCmyk: |
- if (pSource->GetPalette() != NULL) { |
+ if (pSource->GetPalette()) { |
pConverted = pSource->CloneConvert(FXDIB_Cmyk); |
} |
break; |