summaryrefslogtreecommitdiff
path: root/core/src/fxge/apple/fx_mac_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fxge/apple/fx_mac_imp.cpp')
-rw-r--r--core/src/fxge/apple/fx_mac_imp.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/fxge/apple/fx_mac_imp.cpp b/core/src/fxge/apple/fx_mac_imp.cpp
index 3a9b9f9ec3..04b04b8ba8 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;
m_pPlatformData = NULL;
}
#endif