| 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 4f6c54cac0dc87db866248d9b3f52d976e61c13b..a44b384764b6756e6b3b0f02bd23a44806d6a1f2 100644
|
| --- a/core/src/fxge/ge/fx_ge_path.cpp
|
| +++ b/core/src/fxge/ge/fx_ge_path.cpp
|
| @@ -385,7 +385,7 @@ CFX_FloatRect CFX_PathData::GetBoundingBox(FX_FLOAT line_width,
|
| return rect;
|
| }
|
| void CFX_PathData::Transform(const CFX_AffineMatrix* pMatrix) {
|
| - if (pMatrix == NULL) {
|
| + if (!pMatrix) {
|
| return;
|
| }
|
| for (int i = 0; i < m_PointCount; i++) {
|
| @@ -565,7 +565,7 @@ FX_BOOL CFX_PathData::IsRect() const {
|
| }
|
| FX_BOOL CFX_PathData::IsRect(const CFX_AffineMatrix* pMatrix,
|
| CFX_FloatRect* pRect) const {
|
| - if (pMatrix == NULL) {
|
| + if (!pMatrix) {
|
| if (!IsRect()) {
|
| return FALSE;
|
| }
|
|
|