Index: core/src/fxge/ge/fx_ge_path.cpp |
diff --git a/core/src/fxge/ge/fx_ge_path.cpp b/core/src/fxge/ge/fx_ge_path.cpp |
index 543c33ba144f57deb96b9ec113ac3533aab28ffe..23b1c2fe070906ba68d1e7162e668233a6eee72f 100644 |
--- a/core/src/fxge/ge/fx_ge_path.cpp |
+++ b/core/src/fxge/ge/fx_ge_path.cpp |
@@ -384,7 +384,7 @@ CFX_FloatRect CFX_PathData::GetBoundingBox(FX_FLOAT line_width, |
return rect; |
} |
void CFX_PathData::Transform(const CFX_Matrix* pMatrix) { |
- if (pMatrix == NULL) { |
+ if (!pMatrix) { |
return; |
} |
for (int i = 0; i < m_PointCount; i++) { |
@@ -564,7 +564,7 @@ FX_BOOL CFX_PathData::IsRect() const { |
} |
FX_BOOL CFX_PathData::IsRect(const CFX_Matrix* pMatrix, |
CFX_FloatRect* pRect) const { |
- if (pMatrix == NULL) { |
+ if (!pMatrix) { |
if (!IsRect()) { |
return FALSE; |
} |