revert my last change to RtlClearAllBits for win32k do handle all case with NULL to it now.
Modified: trunk/reactos/lib/rtl/bitmap.c
--- trunk/reactos/lib/rtl/bitmap.c 2005-12-29 14:15:36 UTC (rev 20424) +++ trunk/reactos/lib/rtl/bitmap.c 2005-12-29 15:14:50 UTC (rev 20425) @@ -125,15 +125,10 @@
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);
+
}