mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed invalid NULL check
This commit is contained in:
@@ -401,7 +401,7 @@ static BOOL adjust_src_dst_coordinates(HGDI_DC hdcDest, INT32* pnXSrc, INT32* pn
|
||||
nWidth = *pnWidth;
|
||||
nHeight = *pnHeight;
|
||||
|
||||
if (!hdcDest)
|
||||
if (!hDstBmp)
|
||||
return FALSE;
|
||||
|
||||
if (nXDst < 0)
|
||||
|
||||
Reference in New Issue
Block a user