mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[win32k]
- Check if CombinedClip is NULL before accesing it Should fix a crash with Download Master svn path=/trunk/; revision=50797
This commit is contained in:
@@ -438,7 +438,8 @@ NtGdiGetPixel(HDC hDC, INT XPos, INT YPos)
|
||||
|
||||
XPos += dc->ptlDCOrig.x;
|
||||
YPos += dc->ptlDCOrig.y;
|
||||
if (RECTL_bPointInRect(&dc->rosdc.CombinedClip->rclBounds, XPos, YPos))
|
||||
if ((dc->rosdc.CombinedClip == NULL) ||
|
||||
(RECTL_bPointInRect(&dc->rosdc.CombinedClip->rclBounds, XPos, YPos)))
|
||||
{
|
||||
bInRect = TRUE;
|
||||
psurf = dc->dclevel.pSurface;
|
||||
|
||||
Reference in New Issue
Block a user