Index: core/include/fpdfapi/fpdf_resource.h |
diff --git a/core/include/fpdfapi/fpdf_resource.h b/core/include/fpdfapi/fpdf_resource.h |
index 1f6c8b005b97bd14c3d78634dcda52480e4fcb44..d6d43ee9a7b7faca6375f8337dfa1abd329327d1 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; |