Index: core/src/fxge/apple/fx_mac_imp.cpp |
diff --git a/core/src/fxge/apple/fx_mac_imp.cpp b/core/src/fxge/apple/fx_mac_imp.cpp |
index 3a9b9f9ec3c56078b4be11261d74f83f2dbf2a40..3f58ecddc05a1aa6062bbf70864c5af1cb10bd63 100644 |
--- a/core/src/fxge/apple/fx_mac_imp.cpp |
+++ b/core/src/fxge/apple/fx_mac_imp.cpp |
@@ -100,9 +100,7 @@ void CFX_GEModule::InitPlatform() |
} |
void CFX_GEModule::DestroyPlatform() |
{ |
- if (m_pPlatformData) { |
- delete (CApplePlatform *) m_pPlatformData; |
- } |
+ delete (CApplePlatform *) m_pPlatformData; |
Tom Sepez
2015/07/16 17:22:44
nit: no space before *, no space after )
Lei Zhang
2015/07/16 21:20:48
Done.
|
m_pPlatformData = NULL; |
} |
#endif |