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 7dc48a1808f25922ff3bdc160554d1a4ee6ca305..670622a5fb36e79a8cecd277ccbc99b6028e361b 100644 |
--- a/core/src/fxge/win32/fx_win32_print.cpp |
+++ b/core/src/fxge/win32/fx_win32_print.cpp |
@@ -295,9 +295,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; |