Index: core/src/fxge/win32/fx_win32_print.cpp |
diff --git a/core/src/fxge/win32/fx_win32_print.cpp b/core/src/fxge/win32/fx_win32_print.cpp |
index 9e7a0aae959efecccb059585cc5e1c1be333a246..c9beefe20b7a596d5676a74055172738fa61762f 100644 |
--- a/core/src/fxge/win32/fx_win32_print.cpp |
+++ b/core/src/fxge/win32/fx_win32_print.cpp |
@@ -304,9 +304,6 @@ FX_BOOL CPSPrinterDriver::Init(HDC hDC, int pslevel, FX_BOOL bCmykOutput) |
ret = ::GetRegionData(hRgn, 0, NULL); |
if (ret) { |
RGNDATA* pData = (RGNDATA*)FX_Alloc(FX_BYTE, ret); |
- if (!pData) { |
- return FALSE; |
- } |
ret = ::GetRegionData(hRgn, ret, pData); |
if (ret) { |
CFX_PathData path; |