Fixed invalid NULL check
This commit is contained in:
parent
53fdea8455
commit
3e2caa88a4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user