/* FIXME: Is this really needed? */
TempSurfObj = EngLockSurface(ppdev->PointerColorSurface);
EngFreeMem(TempSurfObj->pvBits);
- TempSurfObj->pvBits = 0;
+ TempSurfObj->pvBits = NULL;
EngUnlockSurface(TempSurfObj);
EngDeleteSurface(ppdev->PointerColorSurface);
- ppdev->PointerMaskSurface = NULL;
+ ppdev->PointerColorSurface = NULL;
}
if (ppdev->PointerMaskSurface != NULL)
/* FIXME: Is this really needed? */
TempSurfObj = EngLockSurface(ppdev->PointerMaskSurface);
EngFreeMem(TempSurfObj->pvBits);
- TempSurfObj->pvBits = 0;
+ TempSurfObj->pvBits = NULL;
EngUnlockSurface(TempSurfObj);
EngDeleteSurface(ppdev->PointerMaskSurface);
ppdev->PointerColorSurface = (HSURF)EngCreateBitmap(Size,
psoColor->lDelta, psoColor->iBitmapFormat, 0, Bits);
}
- else
- {
- ppdev->PointerColorSurface = NULL;
- }
- if (psoMask != NULL)
{
SIZEL Size;
PBYTE Bits;
ppdev->PointerMaskSurface = (HSURF)EngCreateBitmap(Size,
psoMask->lDelta, psoMask->iBitmapFormat, 0, Bits);
}
- else
- {
- ppdev->PointerMaskSurface = NULL;
- }
/*
* Create surface for saving the pixels under the cursor.