mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
revert my last change to RtlClearAllBits for win32k do handle all case with NULL to it now.
svn path=/trunk/; revision=20425
This commit is contained in:
@@ -125,15 +125,10 @@ RtlAreBitsSet(PRTL_BITMAP BitMapHeader,
|
||||
VOID NTAPI
|
||||
RtlClearAllBits(IN OUT PRTL_BITMAP BitMapHeader)
|
||||
{
|
||||
if (BitMapHeader != NULL)
|
||||
{
|
||||
if (BitMapHeader->Buffer != NULL)
|
||||
{
|
||||
memset(BitMapHeader->Buffer,
|
||||
0x00,
|
||||
ROUND_UP(BitMapHeader->SizeOfBitMap, 8) / 8);
|
||||
}
|
||||
}
|
||||
memset(BitMapHeader->Buffer,
|
||||
0x00,
|
||||
ROUND_UP(BitMapHeader->SizeOfBitMap, 8) / 8);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user