Index: core/src/fxge/win32/fx_win32_dwrite.cpp |
diff --git a/core/src/fxge/win32/fx_win32_dwrite.cpp b/core/src/fxge/win32/fx_win32_dwrite.cpp |
index 3cde3bfd8b9d8262c1b8316842fc3bb9c3f62554..889a5684b703865c23c2e9db6a8025ff3f1fa847 100644 |
--- a/core/src/fxge/win32/fx_win32_dwrite.cpp |
+++ b/core/src/fxge/win32/fx_win32_dwrite.cpp |
@@ -262,9 +262,7 @@ FX_BOOL CDWriteExt::DwRendingString(void* renderTarget, CFX_ClipRgn* pClipRgn, F |
} |
void CDWriteExt::DwDeleteRenderingTarget(void* renderTarget) |
{ |
- if (renderTarget) { |
- delete (CDwGdiTextRenderer*)renderTarget; |
- } |
+ delete (CDwGdiTextRenderer*)renderTarget; |
} |
void CDWriteExt::DwDeleteFont(void* pFont) |
{ |