Index: core/src/fxge/ge/fx_ge_device.cpp |
diff --git a/core/src/fxge/ge/fx_ge_device.cpp b/core/src/fxge/ge/fx_ge_device.cpp |
index a678af2ec4622f637c86cb408fedb778a796fcfd..4ce020716c5b718186c28160ad73ff05536ce22d 100644 |
--- a/core/src/fxge/ge/fx_ge_device.cpp |
+++ b/core/src/fxge/ge/fx_ge_device.cpp |
@@ -131,7 +131,7 @@ FX_BOOL CFX_RenderDevice::DrawPath(const CFX_PathData* pPathData, |
if ((fill_mode & 3) == 0) { |
fill_alpha = 0; |
} |
- if (pGraphState == NULL) { |
+ if (!pGraphState) { |
stroke_alpha = 0; |
} |
if (stroke_alpha == 0 && pPathData->GetPointCount() == 2) { |