Index: core/src/fxge/win32/fx_win32_device.cpp |
diff --git a/core/src/fxge/win32/fx_win32_device.cpp b/core/src/fxge/win32/fx_win32_device.cpp |
index b7dced9148c1cf1557565c6a2aed670aad9933d9..2802a7c5332123db5b1a18a624a778d01248e29c 100644 |
--- a/core/src/fxge/win32/fx_win32_device.cpp |
+++ b/core/src/fxge/win32/fx_win32_device.cpp |
@@ -413,9 +413,7 @@ void CFX_GEModule::InitPlatform() |
} |
void CFX_GEModule::DestroyPlatform() |
{ |
- if (m_pPlatformData) { |
- delete (CWin32Platform*)m_pPlatformData; |
- } |
+ delete (CWin32Platform*)m_pPlatformData; |
m_pPlatformData = NULL; |
} |
CGdiDeviceDriver::CGdiDeviceDriver(HDC hDC, int device_class) |