- EngSetPointerShape: Don't dereference psoMask without checking it

svn path=/trunk/; revision=42626
This commit is contained in:
Timo Kreuzer 2009-08-11 19:03:51 +00:00
parent f928fd8906
commit abc65bc027

View file

@ -358,7 +358,7 @@ EngSetPointerShape(
} }
} }
} }
else else if (psoMask)
{ {
pgp->Size.cx = psoMask->sizlBitmap.cx; pgp->Size.cx = psoMask->sizlBitmap.cx;
pgp->Size.cy = psoMask->sizlBitmap.cy / 2; pgp->Size.cy = psoMask->sizlBitmap.cy / 2;