diff options
Diffstat (limited to 'core/include/fpdfapi/fpdf_resource.h')
-rw-r--r-- | core/include/fpdfapi/fpdf_resource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/fpdfapi/fpdf_resource.h b/core/include/fpdfapi/fpdf_resource.h index 1f6c8b005b..d6d43ee9a7 100644 --- a/core/include/fpdfapi/fpdf_resource.h +++ b/core/include/fpdfapi/fpdf_resource.h @@ -605,7 +605,7 @@ class CPDF_Color { ~CPDF_Color(); - FX_BOOL IsNull() const { return m_pBuffer == NULL; } + FX_BOOL IsNull() const { return !m_pBuffer; } FX_BOOL IsEqual(const CPDF_Color& other) const; |